Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets the ID of the process with which the activity is associated.
Syntax
HRESULT GetProcessId(
[out] ULONG *pPID
);
Parameters
[out] pPID
Receives the process ID.
Return value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
| Return code | Description |
|---|---|
|
The method succeeded. |
|
The pPID parameter is null. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 10, version 1703 [desktop apps only] |
| Minimum supported server | None supported |
| Target Platform | Windows |
| Header | mfidl.h |
| Library | Mfplat.lib; Mfplat.dll |