IWDFRemoteTarget::Start method

The IWDFRemoteTarget::Start method restarts a remote I/O target that is stopped.

Syntax


HRESULT Start();

Parameters

This method has no parameters.

Return value

Start returns S_OK if the operation succeeds. Otherwise, the method might return the following value:

Return codeDescription
HRESULT_FROM_NT (STATUS_INVALID_DEVICE_STATE)

The remote I/O target object was deleted.

 

This method might return one of the other values that Winerror.h contains.

Remarks

The Start method resumes processing any I/O requests that are in queued to the remote I/O target. After a driver calls IWDFRemoteTarget::Stop, the driver must call Start so the framework can resume sending I/O requests to the I/O target.

For more information about Start, and how to use remote I/O targets in UMDF-based drivers, see Controlling a General I/O Target's State in UMDF.

Examples

The following code example restarts a remote I/O target.


if (S_OK == RemoteTarget->Start())
{
    //
    // Resume sending I/O requests to the I/O target.
    //
...}

Requirements

End of support

Unavailable in UMDF 2.0 and later.

Minimum UMDF version

1.9

Header

Wudfddi.h (include Wudfddi.h)

DLL

WUDFx.dll

See also

IWDFRemoteTarget
IWDFRemoteTarget::Stop

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft