ICOMAdminCatalog2::AreApplicationInstancesPaused method (comadmin.h)
Determines whether any of the specified application instances (processes) are paused.
Syntax
HRESULT AreApplicationInstancesPaused(
[in] VARIANT *pVarApplicationInstanceID,
[out, retval] VARIANT_BOOL *pVarBoolPaused
);
Parameters
[in] pVarApplicationInstanceID
The application instances to be checked. Each element of the Variant may be a String containing an application instance ID (for example, as returned by the GetApplicationInstanceIDFromProcessID method), a single catalog object, or a catalog collection (for example, as returned by the GetCollectionByQuery2 method).
[out, retval] pVarBoolPaused
Indicates whether the specified applications are paused.
Return value
This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following values.
Return code | Description |
---|---|
|
The method completed successfully. |
|
A specified application instance does not exist. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | comadmin.h |