DevHelp FreeReqPacket

This service releases a request packet previously allocated by AllocReqPacket.

C
 USHORT APIENTRY DevHelp_FreeReqPacket( PBYTE ReqPktAddr ); 

Assembler
 LES  BX,request_packet          ; Pointer to request packet previously allocated MOV  DL,DevHlp_FreeReqPacket

CALL [Device_Help] 

C

 * ReqPktAddr (PBYTE) :  Pointer to request packet previously allocated.

Assembler
 LES  BX,request_packet          ; Pointer to request packet previously allocated 

C

 * Success Indicator: None.


 * Possible errors: None.

Assembler
 None. 

Remarks
The physical device driver should only free those request packets that were previously allocated by AllocReqPacket The DevHlp_DevDone must not be used to return an allocated request packet. The system has a limited number of request packets, so it is important that a physical device driver not allocate request packets and hold them for future use.

The state of the interrupt flag is not preserved across calls to this DevHlp.

C

 * 1) include "dhcalls.h"

USHORT APIENTRY DevHelp_FreeReqPacket( PBYTE ReqPktAddr ); 