Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the security identification of the host.
Syntax
HRESULT GetSecurityId(
BYTE * pbSecurityId,
DWORD * pcbSecurityId,
DWORD dwReserved
);
Parameters
- pbSecurityId
[out] Address of a buffer that specifies the scheme, domain name, and zone of the host. - pcbSecurityId
[in, out] Address of an unsigned long integer value that specifies the size of the buffer being passed in. - dwReserved
[in] Reserved. Must be set to NULL.
Return Values
Returns S_OK if successful, or E_INVALIDARG if the buffer is set to NULL.
Remarks
If successful, pbSecurityId contains the scheme, domain, and zone information in the following format.
<scheme>:<domain>+<zone>
The pcbSecurityId parameter contains the actual size of the data stored in the buffer.
Requirements
Pocket PC: Pocket PC 2000 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later
Header: urlmon.h
Library: urlmon.lib
See Also
Send Feedback on this topic to the authors