IWDTFSimpleIOEx2::Open method (wdtfinterfaces.h)

Opens the device.

Syntax

HRESULT Open(
  [out, retval] VARIANT_BOOL *pResult
);

Parameters

[out, retval] pResult

True if the operation succeeds; otherwise, false.

Return value

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

Remarks

You should call the Open method before calling the IWDTFSimpleIOEx2::PerformIO method.

Requirements

Requirement Value
Minimum supported client Windows XP Professional
Minimum supported server Windows Server 2008
Target Platform Desktop
Header wdtfinterfaces.h

See also

IWDTFSimpleIOEx2