IWDTFSimpleIOEx2::Close method (wdtfinterfaces.h)

Closes the device.

Syntax

HRESULT Close(
  [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 Close method only after calling the IWDTFSimpleIOEx2::Open 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