Difference between revisions of "Physical Device Driver (DevHlp) Functions"

From EDM2
Jump to: navigation, search
(Generic IOCtl Commands)
(Generic IOCtl Commands)
 
Line 199: Line 199:
 
* [[ASYNC_EXTSETBAUDRATE (43h)]]
 
* [[ASYNC_EXTSETBAUDRATE (43h)]]
 
* [[ASYNC_TRANSMITIMM (44h)]]
 
* [[ASYNC_TRANSMITIMM (44h)]]
* ASYNC_SETBREAKOFF (45h)
+
* [[ASYNC_SETBREAKOFF (45h)]]
 
* ASYNC_SETMODEMCTRL (46h)
 
* ASYNC_SETMODEMCTRL (46h)
 
* ASYNC_STOPTRANSMIT (47h)
 
* ASYNC_STOPTRANSMIT (47h)

Latest revision as of 21:39, 26 March 2020

You can find more information at the Physical Device Driver Reference.

Functions

OS/2 Monitor Functions

DevHlp Services

RMCALLS library (Resource Manager)

SMP DevHlps

Services and Function Codes

Undocumented

Data Types

Generic IOCtl Commands

Category 01h ASYNC (RS232-C) Control IOCtl Commands
  • ASYNC_SETBAUDRATE (41h)
  • ASYNC_SETLINECTRL (42h)
  • ASYNC_EXTSETBAUDRATE (43h)
  • ASYNC_TRANSMITIMM (44h)
  • ASYNC_SETBREAKOFF (45h)
  • ASYNC_SETMODEMCTRL (46h)
  • ASYNC_STOPTRANSMIT (47h)
  • ASYNC_STARTTRANSMIT (48h)
  • ASYNC_SETBREAKON (4Bh)
  • ASYNC_SETDCBINFO (53h)
  • ASYNC_SETENHANCEDMODEPARMS (54h)
  • ASYNC_GETBAUDRATE (61h)
  • ASYNC_GETLINECTRL (62h)
  • ASYNC_EXTGETBAUDRATE (63h)
  • ASYNC_GETCOMMSTATUS (64h)
  • ASYNC_GETLINESTATUS (65h)
  • ASYNC_GETMODEMOUTPUT (66h
  • ASYNC_GETMODEMINPUT (67h)
  • ASYNC_GETINQUECOUNT (68h)
  • ASYNC_GETOUTQUECOUNT (69h)
  • ASYNC_GETCOMMERROR (6Dh)
  • ASYNC_GETCOMMEVENT (72h)
  • ASYNC_GETDCBINFO (73h)
  • ASYNC_GETENHANCEDMODEPARMS (74h)
Category 03h Video Control IOCtl Commands
  • SCR_ALLOCLDT (70h)
  • SCR_DEALLOCLDT (71h)
  • PTR_GETPTRDRAWADDRESS (72h)
  • VID_INITCALLVECTOR (73h)
  • SCR_ABIOSPASSTHRU (74h)
  • SCR_ALLOCLDTOFF (75h)
  • SCR_ALLOCLDTBGVAL (76h)
  • SCR_ALLOCVIDEOBUFFER (7Eh)
  • SCR_GETROMFONTADDR (7Fh)
Category 04h Keyboard Control IOCtl Commands
  • KBD_SETTRANSTABLE (50h)
  • KBD_SETINPUTMODE (51h)
  • KBD_SETINTERIMFLAG (52h)
  • KBD_SETSHIFTSTATE (53h)
  • KBD_SETTYPAMATICRATE (54h)
  • KBD_SETSESMGRHOTKEY (56h)
  • KBD_SETKCB (57h)
  • KBD_SETCP (58h)
  • KBD_SETREADNOTIFICATION (59h)
  • KBD_ALTERKBDLED (5Ah)
  • KBD_SETNLS (5Ch)
  • KBD_CREATE (5Dh)
  • KBD_DESTROY (5Eh)
  • KBD_GETINPUTMODE (71h)
  • KBD_GETINTERIMFLAG (72h)
  • KBD_GETSHIFTSTATE (73h)
  • KBD_READCHAR (74h)
  • KBD_PEEKCHAR (75h)
  • KBD_GETSESMGRHOTKEY (76h)
  • KBD_GETKEYBDTYPE (77h)
  • KBD_GETCODEPAGEID (78h)
  • KBD_XLATESCAN (79h)
  • KBD_QUERYKBDHARDWAREID (7Ah)
  • KBD_QUERYKBDCODEPAGESUPPORT (7Bh)
Category 05h Parallel Port Control IOCtl Commands
  • PRT_SETFRAMECTL (42h)
  • PRT_SETINFINITERETRY (44h)
  • PRT_INITPRINTER (46h)
  • PRT_ACTIVATEFONT (48h)
  • PRT_SETPRINTJOBTITLE (4Dh)
  • PRT_SETIRQTIMEOUT (4Eh)
  • PRT_SETCOMMMODE (52h)
  • PRT_SETDATAXFERMODE (53h)
  • PRT_GETFRAMECTL (62h)
  • PRT_GETINFINITERETRY (64h)
  • PRT_GETPRINTERSTATUS (66h)
  • PRT_QUERYACTIVEFONT (69h)
  • PRT_VERIFYFONT (6Ah)
  • PRT_QUERYIRQTIMEOUT (6Eh)
  • PRT_QUERYCOMMMODE (72h)
  • PRT_QUERYDATAXFERMODE (73h)
  • PRT_QUERYDEVICEID (74h)
Category 07h Mouse Control IOCtl Commands
  • MOU_UPDATEDISPLAYMODE (51h)
  • MOU_SETSCALEFACTORS (53h)
  • MOU_SETEVENTMASK (54h)
  • MOU_REASSIGNTHRESHOLDVALUES (55h)
  • MOU_SETPTRSHAPE (56h)
  • MOU_UNMARKCOLLISIONAREA (57h)
  • MOU_MARKCOLLISIONAREA (58h)
  • MOU_SETPTRPOS (59h)
  • MOU_SETPROTDRAWADDRESS (5Ah)
  • MOU_SETMOUSTATUS (5Ch)
  • MOU_DISPLAYMODECHANGE (5Dh)
  • MOU_GETBUTTONCOUNT (60h)
  • MOU_GETMICKEYCOUNT (61h)
  • MOU_GETMOUSTATUS (62h)
  • MOU_READEVENTQUE (63h)
  • MOU_GETQUESTATUS (64h)
  • MOU_GETEVENTMASK (65h)
  • MOU_GETSCALEFACTORS (66h)
  • MOU_GETPTRPOS (67h)
  • MOU_GETPTRSHAPE (68h)
  • MOU_QUERYTHRESHOLDVALUES (69h)
  • MOU_VER (6Ah)
  • MOU_QUERYPOINTERID (6Bh)
Category 08h Logical Disk Control IOCtl Commands
  • DSK_LOCKDRIVE (00h)
  • DSK_UNLOCKDRIVE (01h)
  • DSK_REDETERMINEMEDIA (02h)
  • DSK_SETLOGICALMAP (03h)
  • DSK_BEGINFORMAT (04h)
  • DSK_BLOCKREMOVABLE (20h)
  • DSK_GETLOGICALMAP (21h)
  • DSK_UNLOCKEJECTMEDIA (40h)
  • DSK_SETDEVICEPARAMS (43h)
  • DSK_WRITETRACK (44h)
  • DSK_FORMATVERIFY (45h)
  • DSK_DISKETTECONTROL (5Dh)
  • DSK_QUERYMEDIASENSE (60h)
  • DSK_GETDEVICEPARAMS (63h)
  • DSK_READTRACK (64h)
  • DSK_VERIFYTRACK (65h)
  • DSK_GETLOCKSTATUS (66h)
Category 09h Physical Disk Control IOCtl Commands
  • PDSK_LOCKPHYSDRIVE (00h)
  • PDSK_UNLOCKPHYSDRIVE (01h)
  • PDSK_WRITEPHYSTRACK (44h)
  • PDSK_GETPHYSDEVICEPARAMS (63h)
  • PDSK_READPHYSTRACK (64h)
  • PDSK_VERIFYPHYSTRACK (65h)
Category 0Ah Character Device Monitor IOCtl Command
  • MON_REGISTERMONITOR (40h)
Category 0Bh General Device Control IOCtl Commands
  • DEV_FLUSHINPUT (01h)
  • DEV_FLUSHOUTPUT (02h)
  • DEV_SYSTEMNOTIFYPDD (41h)
  • DEV_QUERYMONSUPPORT (60h)
Category 0Ch Advanced Power Management
  • POWER_SENDPOWEREVENT (40h)
  • POWER_SETPOWEREVENTRES (41h)
  • POWER_OEMFUNCTION (45h)
  • POWER_GETPOWERSTATUS (60h)
  • POWER_GETPOWEREVENT (61h)
  • POWER_GETPOWERINFO (62h)
  • POWER_GETPOWERSTATE (63h)
Category 80h Screen Control IOCtl Commands
  • SCREENDD_GETCURRENTBANK (00h)
  • SCREENDD_SETCURRENTBANK (01h)
  • SCREENDD_SVGA_ID (08h)
  • SCREENDD_SVGA_OEM (09h)
  • SCREENDD_UPDATEMEMORY (0Ah)
  • SCREENDD_GETLINEARACCESS (0Bh)
Category 80h OEMHLP IOCtls
  • OEMHLP_GETOEMADAPTIONINFO (00h)
  • OEMHLP_GETMACHINEINFO (01h)
  • OEMHLP_GETDISPLAYCOMBCODE (02h)
  • OEMHLP_GETVIDEOFONTS (03h)
  • OEMHLP_READEISACONFIGINFO (04h)
  • Read EISA Function Configuration Information - Subfunction 01 - Function 04h
  • OEMHLP_GETROMBIOSINFO (05h)
  • OEMHLP_GETMISCVIDEOINFO (06h)
  • OEMHLP_GETVIDEOADAPTER (07h)
  • OEMHLP_GETSVGAINFO (08h)
  • OEMHLP_GETMEMINFO (09h)
  • OEMHLP_GETDMQSINFO (0Ah)
  • OEMHLP_PCI (0Bh)
  • OEMHLP_PCI (0Bh) - Subfunction 00h
  • OEMHLP_PCI (0Bh) - Subfunction 01h
  • OEMHLP_PCI (0Bh) - Subfunction 02h
  • OEMHLP_PCI (0Bh) - Subfunction 03h
  • OEMHLP_PCI (0Bh) - Subfunction 04h
Category 80h Adapter Presence-Check Services (TESTCFG.SYS)
  • TESTCFG_SYS_GETBIOSADAPTER (40h)
  • TESTCFG_SYS_ISSUEINIOINSTR (41h)
  • TESTCFG_SYS_ISSUEOUTIOINSTR (42h)
  • TESTCFG_SYS_GETBUSARCH (60h)
  • TESTCFG_SYS_GETALLPOSIDS (61h)
  • TESTCFG_SYS_GETALLEISAIDS (62h)
Category 80h Resource Manager IOCtl Commands
  • Get Resource Manager Node Data - Function 01h
  • Enumerate Resource Manager Nodes - Function 02h
Category 80h CD-ROM Drive and Disc IOCtl Commands
  • CDROMDISK_RESETDRIVE (40h)
  • CDROMDISK_EJECTDISK (44h)
  • CDROMDISC_CLOSETRAY (45h)
  • CDROMDISK_LOCKUNLOCKDOOR (46h)
  • CDROMDISK_SEEK (50h)
  • CDROMDISK_DEVICESTATUS (60h)
  • CDROMDISK_GETDRIVER (61h)
  • CDROMDISK_GETSECTORSIZE (63h)
  • CDROMDISK_GETHEADLOC (70h)
  • CDROMDISK_READLONG (72h)
  • CDROMDISK_GETVOLUMESIZE (78h)
  • CDROMDISK_GETUPC (79h)
Category 81h CD-ROM Audio IOCtl Commands
  • CDROMAUDIO_SETCHANNELCTRL (40h)
  • CDROMAUDIO_PLAYAUDIO (50h)
  • CDROMAUDIO_STOPAUDIO (51h)
  • CDROMAUDIO_RESUMEAUDIO (52h)
  • CDROMAUDIO_GETCHANNEL (60h)
  • CDROMAUDIO_GETAUDIODISK (61h)
  • CDROMAUDIO_GETAUDIOTRACK (62h)
  • CDROMAUDIO_GETSUBCHANNELQ (63h)
  • CDROMAUDIO_GETAUDIOSTATUS (65h)
Category 81h Touch Device-Dependent Driver
  • TOUCH_DEVDEP_SETCALIBCONST (52h)
  • TOUCH_DEVDEP_READDATA (53h)
  • TOUCH_DEVDEP_SETDATAMODE (54h)
  • TOUCH_DEVDEP_SETCLICKLOCK (55h)
  • TOUCH_DEVDEP_SETTOUCHTHRESHOLD (56h)
  • TOUCH_DEVDEP_SETEMULXY (57h)
  • TOUCH_DEVDEP_SETDATAREPORTRATE (58h)
  • TOUCH_DEVDEP_SETLOWPASSFILTER (59h)
  • TOUCH_DEVDEP_WRITEMEMLOC (5Ah)
  • TOUCH_DEVDEP_GETCALIBCONST (60h)
  • TOUCH_DEVDEP_GETDATAMODE (61h)
  • TOUCH_DEVDEP_GETCLICKLOCK (62h)
  • TOUCH_DEVDEP_GETTOUCHTHRESHOLD (63h)
  • TOUCH_DEVDEP_GETEMULXY (64h)
  • TOUCH_DEVDEP_GETDATAREPORTRATE (65h)
  • TOUCH_DEVDEP_GETLOWPASSFILTER (66h)
  • TOUCH_DEVDEP_READMEMLOC (67h)
Category 81h Touch Device-Independent Driver
  • TOUCH_DEVINDEP_SETCOORDSYS (50h)
  • TOUCH_DEVINDEP_SETSELECTMECH (52h)
  • TOUCH_DEVINDEP_SETEVENTMASK (53h)
  • TOUCH_DEVINDEP_SETQUEUESIZE (54h)
  • TOUCH_DEVINDEP_SETEMULSTATE (55h)
  • TOUCH_DEVINDEP_GETCOORDSYS (60h)
  • TOUCH_DEVINDEP_GETSELECTMECH (62h)
  • TOUCH_DEVINDEP_GETEVENTMASK (63h)
  • TOUCH_DEVINDEP_GETQUEUESIZE (64h)
  • TOUCH_DEVINDEP_GETEMULSTATE (65h)
  • TOUCH_DEVINDEP_GETREADEVENTQUEUE (66h)

Icon Legend

  • Vraag.gif: More information is required on this function or symbol.

Links