Retrieves the identifier for the application ___domain.
HRESULT GetAppDomainId (
ULONG32* pappDomainId
);
int GetAppDomainId (
out uint pappDomainId
);
Parameters
- pappDomainId
[out] Returns the application ___domain identifier.
Return Value
If successful, returns S_OK; otherwise, returns an error code.
Remarks
The application ___domain identifier changes whenever the application is restarted and a new application ___domain is created.