Gets the contents of the current privacy record and moves the pointer to the next privacy record.
HRESULT Next( BSTR *pbstrUrl, BSTR *pbstrPolicyRef, LONG *pdwReserved, DWORD *pdwFlags );
- [out] A pointer to a BSTR of the URL to which the current privacy record information applies.
- Reserved. Must be set to null.
- [out] A pointer to a DWORD that combines Privacy Flags that specify the status of privacy agreements and any cookie actions for pbstrUrl.
Returns S_OK if successful, or an error value otherwise.
IEnumPrivacyRecords::Next was introduced in Microsoft Internet Explorer 6.
Privacy records are kept for all URLs on a page.Note Images, stylesheets, script files, and so on, can belong to URLs other than the top-level URL.
Typically, by moving to another Web page at the top-level, the privacy records list is reset. If a top-level movement occurs due to script, the privacy records list is not reset. Instead, a blank record is inserted into the privacy records list before new records are added for URLs associated with the new page. The top-level URL for this new page has the PRIVACY_URLISTOPLEVEL flag set in pdwFlags.
A given URL can have more than one privacy record. All privacy records for a specific URL must be considered to get the complete privacy report for a URL.