IAppManagementHandler::DiscoverApp Method
The IAppManagementHandler::DiscoverApp
method, in Configuration Manager, runs a synchronous discovery operation for the provided synclet.
Syntax
[IDL]
HRESULT DiscoverApp(
HANDLE hUserToken,
LPCWSTR szDeploymentTypeId,
DWORD dwDeploymentTypeRevision,
AppDeploymentTypeData* pDetectResult
);
Parameters
hUserToken
Data type: HANDLE
Qualifiers: [in]
The user token. If it is null, the action is for computer. If it is not NULL, the action is for the user.
szDeploymentTypeId
Data type: DWORD
Qualifiers: [in]
.
dwDeploymentTypeRevision
Data type: DWORD
Qualifiers: [in]
.
pDetectResult
Data type: AppDeploymentTypeData
Qualifiers: [out]
.
Return Values
An HRESULT
code. Possible values include, but are not limited to, the following:
S_OK
Success implies that discovery was triggered successfully. All other return values indicate failure.
Requirements
Runtime Requirements
For more information, see Configuration Manager Client Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Client Development Requirements.
See Also
IAppManagementHandler Interface
Application Management Client Interfaces
Configuration Manager Software Development Kit
Configuration Manager Reference