Contents Index Topic Contents | ||
Previous Topic: IInternetHostSecurityManager::GetSecurityId Next Topic: IInternetHostSecurityManager::QueryCustomPolicy |
IInternetHostSecurityManager::ProcessUrlAction
HRESULT ProcessUrlAction( [in] DWORD dwAction, [out] BYTE *pPolicy, [in] DWORD cbPolicy, [in] BYTE *pContext, [in] DWORD cbContext, [in] DWORD dwFlags, [in] DWORD dwReserved );Retrieves the policy associated with the URL action in the given context.
- Returns one of the following values:
S_OK Successful, and the URL policy is URLPOLICY_ALLOW. S_FALSE Found a valid URL policy that is not URLPOLICY_ALLOW. E_OUTOFMEMORY Not enough memory to complete the operation. The method can also return an HRESULT derived from the Win32 error code ERROR_NOT_FOUND if the URL action could not be read from the registry.
- dwAction
- Double-word value that contains the action to process. Can be one of the URL Action Flags values.
- pPolicy
- Address of the output buffer to store the policy. Since all the URLPOLICY_* values are double-word values, the buffer should be greater than or equal to the size of a DWORD. Can contain one of the URL Policy Flags values.
- cbPolicy
- Double-word value that contains the size of the output buffer.
- pContext
- Address of a buffer that contains the context information used by the delegation routines.
- cbContext
- Double-word value that contains the size of the context information buffer.
- dwFlags
- Double-word value that contains the flags controlling this method. Can be one of the PUAF values.
- dwReserved
- Reserved. Must be set to zero.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.