Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Destroys the view window.
Syntax
HRESULT DestroyViewWindow();
Return value
Type: HRESULT
Returns S_OK if successful, or a COM-defined error value otherwise.
Remarks
Windows Explorer calls this method when a folder window or Windows Explorer is being closed.
Notes to Implementers
Clean up all states that represent the view, including the window and any other associated resources.Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | shobjidl_core.h (include Shobjidl.h) |
DLL | Shell32.dll (version 4.0 or later) |