The IUIResourceMgr::CancelExecution method, in Configuration Manager, cancels an execution request.

[IDL]
HRESULT CancelExecution(
	BSTR sProgramId, 
	BSTR sPackageId
);

Parameters

sProgramId


Data type: BSTRQualifiers: [in]ID of the program for which to cancel the execution request.
sPackageId


Data type: BSTRQualifiers: [in]ID of the package for the program for which to cancel the execution request.

Return Values

An HRESULT code. Possible values include, but are not limited to, the following:

S_OK


The method succeeded.

Remarks

This method cancels the execution requests that have completed the download and are ready to run the program. This method can only be called in the context of the user who is logged on to the client.

Requirements

UIResource.dll.

Runtime Requirements

Development Requirements

See Also


Send comments about this topic to Microsoft.