IQueryForm::Initialize method (cmnquery.h)

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

Syntax

HRESULT Initialize(
  [in] HKEY hkForm
);

Parameters

[in] hkForm

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

Return value

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

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header cmnquery.h
Library Uuid.lib
DLL Dsquery.dll

See also

IQueryForm