Contents Index Topic Contents | ||
Previous Topic: IInternetHostSecurityManager::ProcessUrlAction Next Topic: IInternetSecurityManager::GetSecurityId |
IInternetHostSecurityManager::QueryCustomPolicy
HRESULT QueryCustomPolicy( [in] REFGUID guidKey, [out] BYTE **ppPolicy, [out] DWORD *pcbPolicy, [in] BYTE *pContext, [in] DWORD cbContext, [in] DWORD dwReserved );Retrieves the custom policy associated with the specified key in the given context.
- Returns S_OK if successful, or E_OUTOFMEMORY if not enough memory to complete the operation.
This method can also return the HRESULT derived from the Win32 error code ERROR_NOT_FOUND if the action could not be read from the registry.
- guidKey
- Globally unique identifier associated with the custom policy.
- ppPolicy
- Address of a pointer to the buffer to store the policy information.
- pcbPolicy
- Address of a double-word value that contains the policy buffer size.
- pContext
- Address of a buffer that contains the context information.
- cbContext
- Unsigned long integer value that contains the size of the context buffer.
- dwReserved
- Reserved. Must be set to zero.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.