Share via


Initialize method

Loads data into the tree control.

 

Syntax

HRESULT retVal = object.Initialize(pidlRoot, grfFlags, dwFlags);

Parameters

  • pidlRoot [in]
    Type: PCIDLIST_ABSOLUTE

  • grfFlags [in]
    Type: DWORD

  • dwFlags [in]
    Type: DWORD

Return value

Type: HRESULT

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