Share via


XXX_Cancel (Device Manager) (Compact 7)

3/12/2014

This function cancels all pending asynchronous I/O requests for the specified device.

Syntax

BOOL XXX_Cancel(
  DWORD dwOpenContext,
  HANDLE hAsyncHandle
);

Parameters

  • dwOpenContext
    [in] Handle to the open context of the device. The XXX_Open (Device Manager) function creates and returns this identifier.
  • hAsyncHandle
    [in] Handle to an I/O packet. This parameter is optional and is used as an input reference handle for CreateAsyncIoHandle.

Return Value

TRUE indicates success. FALSE indicates failure.

Remarks

Device Manager uses the XXX prefix as a placeholder. When implementing the stream interface, replace XXX with a prefix appropriate for your implementation or use undecorated entry point names in conjunction with DEVFLAGS_NAKEDENTRIES. For more information about other valid Flags values, see ActivateDeviceEx.

Requirements

Header

Developer Implemented

Library

Developer Implemented

See Also

Reference

Stream Interface Driver Functions
XXX_Open (Device Manager)