IPhotoAcquireOptionsDialog::Create method (photoacquire.h)

The Create method creates and displays a modeless instance of the photo options dialog box, hosted within a parent window.

Syntax

HRESULT Create(
  [in]  HWND hWndParent,
  [out] HWND *phWndDialog
);

Parameters

[in] hWndParent

Handle to the parent window.

[out] phWndDialog

Specifies the created dialog box.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.

Remarks

The Initialize method should be called prior to the Create method.

The parent window indicated by hWndParent provides OK and Cancel buttons to the new dialog box instance.

Requirements

Requirement Value
Target Platform Windows
Header photoacquire.h
Library PhotoAcquireUID.lib

See also

IPhotoAcquireOptionsDialog Interface