IInternetSecurityManager::QueryCustomPolicyIInternetSecurityManager::QueryCustomPolicy*
*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.

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.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.