Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
Retrieves the application instance identifier for the specified process identifier.
Syntax
HRESULT GetApplicationInstanceIDFromProcessID(
[in] long lProcessID,
[out, retval] BSTR *pbstrApplicationInstanceID
);
Parameters
[in] lProcessID
The process ID.
[out, retval] pbstrApplicationInstanceID
The corresponding application instance ID.
Return value
This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, E_FAIL, and S_OK.
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 |