The IUIResourceMgr::RunOnCompletion method, in Configuration Manager, flags a program to run when it is finished downloading.
[IDL] HRESULT RunOnCompletion( BSTR sProgramId, BSTR sPackageId, long bRun ); |
Parameters
- sProgramId
- Data type: BSTRQualifiers: [in]ID of the program to flag to run on download completion.
- sPackageId
- Data type: BSTRQualifiers: [in]ID of the package for the program to flag to run on download completion.
- bRun
- Data type: longQualifiers: [in]Value indicating if the program is flagged or unflagged to run on completion.
Return Values
An HRESULT code. Possible values include, but are not limited to, the following:
- S_OK
- The method succeeded.
Remarks
This method can only be called in the context of the user who is currently logged on to the client.
Requirements
UIResource.dll.
Runtime Requirements
For more information, see Configuration Manager Client Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Client Development Requirements.
See Also
Send comments about this topic to Microsoft.