INameSpaceTreeControl2::Initialize Method

Initializes an INameSpaceTreeControl object.

Syntax

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

Parameters

  • hwndParent
    [in] The handle of the parent window.
  • prc
    [in] A pointer to a RECT structure that describes the size and position of the control in the client window.
  • nsctsFlags
    [in] The characteristics of the given name space tree control. One or more of the following values from the NSTCSTYLE enumeration.

Return Value

Returns S_OK if successful, or an error value otherwise.