INameSpaceTreeControl2::TreeUnadvise Method

Enables a client to unregister with the control.

Syntax

HRESULT TreeUnadvise(      
    DWORD *pdwCookie
);

Parameters

  • pdwCookie
    [in] A pointer to the cookie that is to be unregistered.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

The pointer to the cookie that is passed in is the one that was passed back in INameSpaceTreeControl::TreeAdvise.