IFileOpenDialog::Unadvise Method
Removes an event handler that was attached through the IFileDialog::Advise method.
Syntax
HRESULT Unadvise( DWORD dwCookie );
Parameters
- dwCookie
[in] The DWORD value that represents the event handler. This value is obtained through the pdwCookie parameter of the IFileDialog::Advise method.
Return Value
Returns S_OK if successful, or an error value otherwise.