IFileViewerSite::GetPinnedWindow method

Gets the handle to the current pinned window, if one exists.

Syntax


HRESULT GetPinnedWindow(
  [out] HWND *phwnd
);

Parameters

phwnd [out]

Type: HWND*

A pointer to the handle of the current pinned window or NULL if no pinned window exists.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Shlobj.h

DLL

Shell32.dll (version 4.0 or later)

See also

IFileViewerSite

 

 

Show: