Contents Index Topic Contents | ||
Previous Topic: IInternetSecurityManager::MapUrlToZone Next Topic: IInternetSecurityManager::QueryCustomPolicy |
IInternetSecurityManager::ProcessUrlAction
HRESULT ProcessUrlAction( [in] LPCWSTR pwszUrl, [in] DWORD dwAction, [out] BYTE *pPolicy [in] DWORD cbPolicy, [in] DWORD dwReserved );Determines the policy for the specified action, and displays a user interface if the policy indicates that the user should be queried.
- 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 might also return an HRESULT derived from the Win32 error code ERROR_NOT_FOUND if the URL action could not be read from the registry.
- pwszUrl
- String value that contains the URL.
- dwAction
- Double-word value that contains the action to be performed. Can be one of the URL Action Flags values.
- pPolicy
- Address of the buffer where the policy for the given URL and action will be stored. Can contain one of the URL Policy Flags values.
- cbPolicy
- Double-word value that contains the size of the buffer.
- dwReserved
- Reserved. Must be set to zero.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.