Jump to content

DevHelp UnLock: Difference between revisions

From EDM2
Created page with "This service unlocks a locked memory segment. ==Syntax== ===C=== USHORT APIENTRY DevHelp_UnLock (ULONG Lockhandle) ===Assembler=== <PRE> MOV BX,lock_handle_low ; H..."
 
No edit summary
 
Line 1: Line 1:
{{DISPLAYTITLE:DevHelp_UnLock}}
This service unlocks a locked memory segment.  
This service unlocks a locked memory segment.  



Latest revision as of 03:19, 23 May 2025

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