Directory Services

IQueryForm::Initialize

The IQueryForm::Initialize method initializes the query form extension object.

HRESULT Initialize( 
  HKEY hkForm
);

Parameters

hkForm
[in] Contains a registry key that identifies where the query form object was obtained. This parameter may be NULL.

Return Values

This method returns S_OK to enable the form object withing the query dialog, or a failure code, such as E_FAIL, to prevent the form from being added to the query dialog.

Requirements

Client: Included in Windows XP and Windows 2000 Professional.
Server: Included in Windows Server 2003 and Windows 2000 Server.
Header: Declared in Cmnquery.h.

See Also

IQueryForm