DevHelp UnLock

From EDM2
Jump to: navigation, search

This service unlocks a locked memory segment.

Syntax

C

USHORT APIENTRY DevHelp_UnLock (ULONG Lockhandle)

Assembler

MOV   BX,lock_handle_low       ; Handle for segment returned by Lock
MOV   AX,lock_handle_high      ;
MOV   DL,DevHlp_UnLock

CALL  [Device_Help]

Parameters

C

LockHandle (ULONG) 
Handle for segment returned by Lock.

Assembler

MOV   BX,lock_handle_low       ; Handle for segment returned by Lock
MOV   AX,lock_handle_high      ;

Return Code

C

Success Indicator: 0 if segment is unlocked.

Assembler

   'C' Clear if segment unlocked.

   'C' Set if error.
       AX = Error code.

Remarks

None

Example Code

C

#include  "dhcalls.h"

USHORT APIENTRY DevHelp_UnLock (ULONG Lockhandle)

Related Functions