Windows Dev Center

INameSpaceTreeControl::Initialize method

Initializes an INameSpaceTreeControl object.

Syntax


HRESULT Initialize(
  [in] HWND      hwndParent,
  [in] RECT      *prc,
  [in] NSTCSTYLE nsctsFlags
);

Parameters

hwndParent [in]

Type: HWND

The handle of the parent window.

prc [in]

Type: RECT*

A pointer to a RECT structure that describes the size and position of the control in the client window.

nsctsFlags [in]

Type: NSTCSTYLE

The characteristics of the given namespace tree control. One or more of the following values from the NSTCSTYLE enumeration.

Return value

Type: HRESULT

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

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

 

 

Community Additions

ADD
Show:
© 2015 Microsoft