Observação
O acesso a essa página exige autorização. Você pode tentar entrar ou alterar diretórios.
O acesso a essa página exige autorização. Você pode tentar alterar os diretórios.
Gets the GUID for this process.
HRESULT GetProcessId(
GUID* pguidProcessId
);
int GetProcessId(
out Guid pguidProcessId
);
Parameters
- pguidProcessId
[out] Returns the GUID for this process.
Return Value
If successful, returns S_OK; otherwise, returns an error code.
Remarks
The Globally Unique IDentifier (GUID) identifies this process from all other processes running in the system.