IDockingWindowSite::SetBorderSpaceDW method

Allocates and reserves border space for an IDockingWindow object.

Syntax

HRESULT SetBorderSpaceDW(
  IUnknown        *punkObj,
  LPCBORDERWIDTHS pbw
);

Parameters

punkObj

Type: IUnknown*

A pointer to the IDockingWindow object for which the border space is being set.

pbw

Type: LPCBORDERWIDTHS

A pointer to a BORDERWIDTHS structure that contains the coordinates of the IDockingWindow object's border space. The border space should be approved through a successful call to the IDockingWindowSite::RequestBorderSpaceDW method before SetBorderSpaceDW is called with these coordinates.

Return Value

Type: HRESULT

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

Requirements

   
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