IFileViewerSite::GetPinnedWindow

[Now Supported on Windows NT]

Retrieves the handle of the current pinned window, if it exists.

HRESULT GetPinnedWindow(

IFileViewerSite FAR *pFileVS,  
HWND *phwnd  
);  

Parameters

pFileVS

Address of the IFileViewerSite interface. In C++, this parameter is implicit.

phwnd

Address of a window handle of the current pinned window or NULL if no pinned window exists.

Return Values

Returns the NOERROR value if successful or an OLE-defined error value otherwise.

See Also

IFileViewerSite