Contents Index Topic Contents | ||
Previous Topic: Methods Next Topic: IInternetHostSecurityManager::ProcessUrlAction |
IInternetHostSecurityManager::GetSecurityId
HRESULT GetSecurityId( [out] BYTE *pbSecurityId, [in, out] DWORD *pcbSecurityId, [in] DWORD dwReserved );Retrieves the security identification of the host.
- Returns S_OK if successful, or E_INVALIDARG if the buffer is set to NULL or the string passed in to pwszUrl is not a valid URL.
- pbSecurityId
- Address of a buffer containing the scheme, domain name, and zone of the host.
- pcbSecurityId
- Address of a double word value containing the size of the buffer being passed in.
- dwReserved
- Reserved. Must be set to zero.
If successful, pbSecurityId contains the scheme, domain, and zone information in the following format:
<scheme>:<domain>+<zone>
The pcbSecurityID parameter will contain the actual size of the data stored in the buffer.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.