MM_AbortRequest

To abort an outstanding IO request submitted by calling MM_ObjectIO.

Local Servers:Non-blocking
NetWare Server: 5.x
Platform:NLM
Service:Media Manager

Syntax

  LONG MM_AbortRequest (HNDL messageHandle ); 
  
  

Parameters

messageHandle
The request handle returned by MM_ObjectIO that identifies the request to be aborted.

Return Values

The following table lists return values and descriptions.

0x00000000

MM_OK

0x0000000B

MM_NOT_ABORTED

0x0000020A

MM_INVALID_HANDLE

Remarks

The callback routine passed to MM_ObjectIO will be called when the message is aborted. The IO return value will be either MM_ABORTED_CLEAN, indicating that the message was aborted before being submitted to a device, or MM_ABORTED_UNCLEAN, indicating that the message has been sent to a device. If the message is in the process of completing when the abort request is submitted, then the return value will be defined by the driver as in any other IO request.