Edit

Share via


IAppManagementHandler::EnumerateApps Method

The IAppManagementHandler::EnumerateApps method, in Configuration Manager, runs a synchronous discovery operation for the provided synclet.

Syntax

[IDL]
HRESULT EnumerateApps(
     HANDLE hUserToken,
     AppDeploymentTypeData* pDetectResult
);

Parameters

hUserToken Data type: HANDLE

Qualifiers: [in]

The user token. If it's null, the action is for computer. If it isn't NULL, the action is for the user.

pDetectResult Data type: AppDeploymentTypeData

Qualifiers: [out]

.

Return Values

An HRESULT code. Possible values include, but aren't limited to, the following one:

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