Jump to content

ProgAddedum - Device Helper (DevHlp) Services and Function Codes

From EDM2
Revision as of 15:33, 18 May 2025 by Martini (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Programming Guide and Reference Addendum
  1. About this book
  2. DosDebug Commands
  3. Device Helper (DevHlp) Services and Function Codes
  4. Control Program Functions
  5. Raw File System APIs
  6. IOCtls
  7. Network APIs
  8. Windows Functions
  9. APIs Supporting High Memory Objects
  10. Notices

Reprint Courtesy of International Business Machines Corporation, © International Business Machines Corporation

DevHlp services include :

DevHlp Services
Service Code Description
DevHlp_CloseFile 80h Close file (system initialization time only)
DevHlp_FreeCtxHook 64h Free context hook
DevHelp_GetDOSVar 24h Return address of kernel variable
DevHlp_KillProc 7Dh Kill process unconditionally
DevHlp_OpenFile 7Fh Open file (system initialization time only)
DevHlp_PerfSysTrace 45h Write Software Trace information to STRACE buffer
DevHlp_QSysState 7Eh Get system status information
DevHlp_ReadFile 81h Read (system initialization time only)
DevHlp_ReadFileAt 82h Seek and read (system initialization time only)
DevHlp_RegisterKDD 83h Register driver with kernel debugger
DevHlp_SysTrace 28h Add information to System Trace buffer
System event notification
System Event Notification
Event Index Description
event_POWER 9 Power off event
Errata Note
DevHlp_FileOpen was removed since it was a typo: Ref: IBM_SDK/TK_Errata_Sheet.