IDockingWindowSite::GetBorderDW method (shlobj_core.h)

Gets the border space allocated for the specified IDockingWindow object.

Syntax

HRESULT GetBorderDW(
  [in]  IUnknown *punkObj,
  [out] RECT     *prcBorder
);

Parameters

[in] punkObj

Type: IUnknown*

Pointer to the IDockingWindow object for which the border space is being requested.

[out] prcBorder

Type: RECT*

Pointer to a structure that, when this method returns successfully, receives the entire available border space for the browser. The docking window object should use this information to determine where to place itself. See the IDockingWindow::ResizeBorderDW method for more information.

Return value

Type: HRESULT

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

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional, Windows XP [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header shlobj_core.h
DLL Shell32.dll (version 4.71 or later)

See also

IDockingWindowFrame

IDockingWindowSite