Contents Index Topic Contents | ||
Previous Topic: IInternetSecurityManager::ProcessUrlAction Next Topic: IInternetSecurityManager::SetSecuritySite |
IInternetSecurityManager::QueryCustomPolicy
HRESULT QueryCustomPolicy( [in] LPCWSTR pwszUrl, [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 URL and specified key in the given context.
- Returns S_OK if successful, or E_OUTOFMEMORY if there is 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.
- pwszUrl
- String value containing the URL.
- 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.