Jump to content

DevHelp_UnLock

From EDM2
Revision as of 03:19, 23 May 2025 by Martini (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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