DevHlp ReleaseSpinLock: Difference between revisions
Appearance
Created page with "{{DISPLAYTITLE:DevHlp_ReleaseSpinLock}} Release a subsystem spinlock. This function releases ownership of a subsystem spinlock. ==Parameters== Spinlock handle. ==Return code== Exit ==Example Code== ;Assembly language ; dh_ReleaseSpinLock - Release a subsystem spinlock. ; ; Releases ownership of a subsystem spinlock. Used by device drivers. ; ; ENTRY: AX:BX = spinlock handle ; ; EXIT: None ; ;..." |
No edit summary |
||
| Line 9: | Line 9: | ||
==Return code== | ==Return code== | ||
Exit | Exit | ||
==Example Code== | ==Example Code== | ||
Revision as of 21:01, 22 May 2025
Release a subsystem spinlock.
This function releases ownership of a subsystem spinlock.
Parameters
Spinlock handle.
Return code
Exit
Example Code
- Assembly language
; dh_ReleaseSpinLock - Release a subsystem spinlock. ;
; Releases ownership of a subsystem spinlock. Used by device drivers.
;
; ENTRY: AX:BX = spinlock handle
;
; EXIT: None
;
; USES: Flags
;
hSpinLock dd ? ; 16:16
MOV AX,hSpinLockHighWord ; high word of handle
MOV BX,hSpinLockLowWord ; low word of handle
MOV DL,DevHlp_ReleaseSpinLock ;
CALL DevHlp
JC Error