Jump to content

PDRREF:Device Support Function Reference: Difference between revisions

From EDM2
mNo edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 10: Line 10:
|[[Default_Primary]]||display driver
|[[Default_Primary]]||display driver
|-
|-
|[[DspDefaultResolution]]||GRE exported API
|[[DspDefaultResolution]]||rowspan=4|GRE exported API
|-
|-
|[[DspQueryDriverInfo]]||GRE exported API
|[[DspQueryDriverInfo]]
|-
|-
|[[DspQueryDriverNames]]||GRE exported API
|[[DspQueryDriverNames]]
|-
|-
|[[DspSetDriverInfo]]||GRE exported API
|[[DspSetDriverInfo]]
|-
|-
|[[GetDriverInfo]]||GRE exported entry point
|[[GetDriverInfo]]||GRE exported entry point
Line 36: Line 36:
|[[GreDeleteSetId]]||GRE internal (set id)
|[[GreDeleteSetId]]||GRE internal (set id)
|-
|-
|[[GreGetAttributes]]||GRE internal (device support)
|[[GreGetAttributes]]||rowspan=9|GRE internal (device support)
|-
|-
|[[GreGetBitmapDimension]]||GRE internal (device support)
|[[GreGetBitmapDimension]]
|-
|-
|[[GreGetBitmapParameters]]||GRE internal (device support)
|[[GreGetBitmapParameters]]
|-
|-
|[[GreGetDefaultArcParameters]]||GRE internal (device support)
|[[GreGetDefaultArcParameters]]
|-
|-
|[[GreGetDefaultAttributes]]||GRE internal (device support)
|[[GreGetDefaultAttributes]]
|-
|-
|[[GreGetDefaultViewingLimits]]||GRE internal (device support)
|[[GreGetDefaultViewingLimits]]
|-
|-
|[[GreGetHandle]]||GRE internal (device context)
|[[GreGetHandle]]
|-
|-
|[[GreGetProcessControl]]||GRE internal (device context)
|[[GreGetProcessControl]]
|-
|-
|[[GreInitializeAttributes]]||GRE internal (device support)
|[[GreInitializeAttributes]]
|-
|-
|[[GreLoadFont]]||GRE internal (font)
|[[GreLoadFont]]||GRE internal (font)
Line 58: Line 58:
|[[GreOpenDC]]||GRE internal (device context)
|[[GreOpenDC]]||GRE internal (device context)
|-
|-
|[[GreOpenJournalFile]]||GRE internal (journaling)
|[[GreOpenJournalFile]]||rowspan=2|GRE internal (journaling)
|-
|-
|[[GrePlayJournalFile]]||GRE internal (journaling)
|[[GrePlayJournalFile]]
|-
|-
|[[GreQueryBitmapHandle]]||GRE internal (LCID)
|[[GreQueryBitmapHandle]]||GRE internal (LCID)
Line 82: Line 82:
|[[GreRealizeString]]||GRE
|[[GreRealizeString]]||GRE
|-
|-
|[[GreResetDC]]||GRE internal (device context)
|[[GreResetDC]]||rowspan=3|GRE internal (device context)
|-
|-
|[[GreRestoreDC]]||GRE internal (device context)
|[[GreRestoreDC]]
|-
|-
|[[GreSaveDC]]||GRE internal (device context)
|[[GreSaveDC]]
|-
|-
|[[GreSelectBitmap]]||GRE internal (device support)
|[[GreSelectBitmap]]||rowspan=3|GRE internal (device support)
|-
|-
|[[GreSetAttributes]]||GRE internal (device support)
|[[GreSetAttributes]]
|-
|-
|[[GreSetBitmapDimension]]||GRE internal (device support)
|[[GreSetBitmapDimension]]
|-
|-
|[[GreSetBitmapID]]||GRE internal (LCID)
|[[GreSetBitmapID]]||GRE internal (LCID)
|-
|-
|[[GreSetDefaultArcParameters]]||GRE internal (device support)
|[[GreSetDefaultArcParameters]]||rowspan=5|GRE internal (device support)
|-
|-
|[[GreSetDefaultAttributes]]||GRE internal (device support)
|[[GreSetDefaultAttributes]]
|-
|-
|[[GreSetDefaultViewingLimits]]||GRE internal (device support)
|[[GreSetDefaultViewingLimits]]
|-
|-
|[[GreSetDeviceSurface]]||GRE internal (device support)
|[[GreSetDeviceSurface]]
|-
|-
|[[GreSetGlobalAttribute]]||GRE internal (device support)
|[[GreSetGlobalAttribute]]
|-
|-
|[[GreSetHandle]]||GRE internal (device context)
|[[GreSetHandle]]||GRE internal (device context)
Line 116: Line 116:
|[[GreUnLoadFont]]||GRE internal (font)
|[[GreUnLoadFont]]||GRE internal (font)
|-
|-
|[[PrtAbortDoc]]||GRE hardcopy
|[[PrtAbortDoc]]||rowspan=9|GRE hardcopy
|-
|-
|[[PrtClose]]||GRE hardcopy
|[[PrtClose]]
|-
|-
|[[PrtDevIOCtl]]||GRE hardcopy
|[[PrtDevIOCtl]]
|-
|-
|[[PrtNewPage]]||GRE hardcopy
|[[PrtNewPage]]
|-
|-
|[[PrtOpen]]||GRE hardcopy
|[[PrtOpen]]
|-
|-
|[[PrtQuery]]||GRE hardcopy
|[[PrtQuery]]
|-
|-
|[[PrtResetAbort]]||GRE hardcopy
|[[PrtResetAbort]]
|-
|-
|[[PrtSet]]||GRE hardcopy
|[[PrtSet]]
|-
|-
|[[PrtWrite]]||GRE hardcopy
|[[PrtWrite]]
|-
|-
|[[SetDriverInfo]]||GRE exported entry point
|[[SetDriverInfo]]||GRE exported entry point
Line 188: Line 188:
|[[SplPdWrite]]||BIDI port driver
|[[SplPdWrite]]||BIDI port driver
|-
|-
|[[SplProtSendCmd]]||BIDI protocol converter
|[[SplProtSendCmd]]||rowspan=3|BIDI protocol converter
|-
|-
|[[SplProtWrite]]||BIDI protocol converter
|[[SplProtWrite]]
|-
|-
|[[SplProtXlateCmd]]||BIDI protocol converter
|[[SplProtXlateCmd]]
|-
|-
|[[SplQmAbort]]||GRE hardcopy
|[[SplQmAbort]]||rowspan=9|GRE hardcopy
|-
|-
|[[SplQmAbortDoc]]||GRE hardcopy
|[[SplQmAbortDoc]]
|-
|-
|[[SplQmClose]]||GRE hardcopy
|[[SplQmClose]]
|-
|-
|[[SplQmEndDoc]]||GRE hardcopy
|[[SplQmEndDoc]]
|-
|-
|[[SplQmGetJobID]]||GRE hardcopy
|[[SplQmGetJobID]]
|-
|-
|[[SplQmNewPage]]||GRE hardcopy
|[[SplQmNewPage]]
|-
|-
|[[SplQmOpen]]||GRE hardcopy
|[[SplQmOpen]]
|-
|-
|[[SplQmStartDoc]]||GRE hardcopy
|[[SplQmStartDoc]]
|-
|-
|[[SplQmWrite]]||GRE hardcopy
|[[SplQmWrite]]
|-
|-
|[[SplQpClose]]||queue driver
|[[SplQpClose]]||rowspan=7|queue driver
|-
|-
|[[SplQpControl]]||queue driver
|[[SplQpControl]]
|-
|-
|[[SplQpInstall]]||queue driver
|[[SplQpInstall]]
|-
|-
|[[SplQpOpen]]||queue driver
|[[SplQpOpen]]
|-
|-
|[[SplQpPrint]]||queue driver
|[[SplQpPrint]]
|-
|-
|[[SplQpQueryDt]]||queue driver
|[[SplQpQueryDt]]
|-
|-
|[[SplQpQueryFlags]]||queue driver
|[[SplQpQueryFlags]]
|-
|-
|[[SplQueryControlPanel]]||GRE hardcopy
|[[SplQueryControlPanel]]||rowspan=14|GRE hardcopy
|-
|-
|[[SplQueryPath]]||GRE hardcopy
|[[SplQueryPath]]
|-
|-
|[[SplQueryPort]]||GRE hardcopy
|[[SplQueryPort]]
|-
|-
|[[SplRegister]]||GRE hardcopy
|[[SplRegister]]
|-
|-
|[[SplRegisterControlPanel]]||GRE hardcopy
|[[SplRegisterControlPanel]]
|-
|-
|[[SplSetPort]]||GRE hardcopy
|[[SplSetPort]]
|-
|-
|[[SplStdClose]]||GRE hardcopy
|[[SplStdClose]]
|-
|-
|[[SplStdDelete]]||GRE hardcopy
|[[SplStdDelete]]
|-
|-
|[[SplStdGetBits]]||GRE hardcopy
|[[SplStdGetBits]]
|-
|-
|[[SplStdOpen]]||GRE hardcopy
|[[SplStdOpen]]
|-
|-
|[[SplStdQueryLength]]||GRE hardcopy
|[[SplStdQueryLength]]
|-
|-
|[[SplStdStart]]||GRE hardcopy
|[[SplStdStart]]
|-
|-
|[[SplStdStop]]||GRE hardcopy
|[[SplStdStop]]
|-
|-
|[[SplUnRegister]]||GRE hardcopy
|[[SplUnRegister]]
|-
|-
|[[SSAllocMem]]||memory management
|[[SSAllocMem]]||rowspan=2|memory management
|-
|-
|[[SSFreeMem]]||memory management
|[[SSFreeMem]]
|-
|-
|[[VisRegionNotify]]||system function
|[[VisRegionNotify]]||rowspan=2|system function
|-
|-
|[[WinSetErrorInfo]]||system function
|[[WinSetErrorInfo]]
|}
|}

Latest revision as of 18:56, 19 May 2025

Presentation Device Driver Reference for OS/2
  1. Introduction to OS/2 Presentation Drivers
  2. Design Considerations for All Drivers
  3. Graphics Engine/Presentation Driver Design Changes
  4. Design Considerations for Display Drivers
  5. Design Considerations for Hardcopy Drivers
  6. Display Drivers
  7. Distributed Console Access Facility (DCAF) Architecture
  8. Graphics Engine Hardcopy Drivers
  9. Queue Drivers
  10. Port Drivers
  11. Presentation Manager Function Categories
  12. Exported Driver Function Reference
  13. Mandatory and Simulated Graphics Engine Function Reference
  14. Device Support Function Reference
  15. DBIDI Command Structures and Command Flow

Appendixes

A - OS/2 Version Compatibility Considerations
B - Syntax Conventions
C - Format of the Journal File
D - Bit-Map Simulation for 16-Bit Hardcopy Drivers
E - Data Types
F - Notices

Miscellaneous

G - Glossary

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

All device support (helper) functions are listed alphabetically in the following table. The table includes port and queue drivers, which are discussed in Queue Drivers and Port Drivers.

A detailed description of each function follows the table.

Function Type
Default_Primary display driver
DspDefaultResolution GRE exported API
DspQueryDriverInfo
DspQueryDriverNames
DspSetDriverInfo
GetDriverInfo GRE exported entry point
GreCloseDC GRE internal (device context)
GreCopyDCLoadData GRE internal (LCID)
GreCreateBitmap GRE internal (device support)
GreCreateJournalFile GRE internal (journaling)
GreCreateLogicalFont GRE internal (font)
GreDeleteBitmap GRE internal (device support)
GreDeleteJournalFile GRE internal (journaling)
GreDeleteSetId GRE internal (set id)
GreGetAttributes GRE internal (device support)
GreGetBitmapDimension
GreGetBitmapParameters
GreGetDefaultArcParameters
GreGetDefaultAttributes
GreGetDefaultViewingLimits
GreGetHandle
GreGetProcessControl
GreInitializeAttributes
GreLoadFont GRE internal (font)
GreOpenDC GRE internal (device context)
GreOpenJournalFile GRE internal (journaling)
GrePlayJournalFile
GreQueryBitmapHandle GRE internal (LCID)
GreQueryCodePageVector GRE internal (font)
GreQueryEngineVersion GRE internal (device context)
GreQueryFontAttributes GRE internal (font)
GreQueryFontFileDescriptions GRE internal (font)
GreQueryFonts GRE internal (fonts)
GreQueryLogicalFont GRE internal (fonts)
GreQueryNumberSetIds GRE internal (set id)
GreQuerySetIds GRE internal (set id)
GreRealizeString GRE
GreResetDC GRE internal (device context)
GreRestoreDC
GreSaveDC
GreSelectBitmap GRE internal (device support)
GreSetAttributes
GreSetBitmapDimension
GreSetBitmapID GRE internal (LCID)
GreSetDefaultArcParameters GRE internal (device support)
GreSetDefaultAttributes
GreSetDefaultViewingLimits
GreSetDeviceSurface
GreSetGlobalAttribute
GreSetHandle GRE internal (device context)
GreSetProcessControl GRE internal (device context)
GreStartJournalFile GRE internal (journaling)
GreStopJournalFile GRE internal (journaling)
GreUnLoadFont GRE internal (font)
PrtAbortDoc GRE hardcopy
PrtClose
PrtDevIOCtl
PrtNewPage
PrtOpen
PrtQuery
PrtResetAbort
PrtSet
PrtWrite
SetDriverInfo GRE exported entry point
SplCreatePort GRE hardcopy
SplDeletePort GRE hardcopy
SplDisable GRE hardcopy
SplDisplayControlPanel GRE hardcopy
SplEnable GRE hardcopy
SplGetControlPanelList GRE hardcopy
SplGetPortFromQ GRE hardcopy
SplMessageBox GRE hardcopy
SplPdAbortDoc BIDI port driver
SplPdClose BIDI port driver
SplPdEnumPort port driver
SplPdGetPortIcon port driver
SplPdInitPort port driver
SplPdInstallPort port driver
SplPdNewPage BIDI port driver
SplPdOpen BIDI port driver
SplPdQuery BIDI port driver
SplPdQueryPort port driver
SplPdRemoteSetPort BIDI port driver
SplPdRemovePort port driver
SplPdResetAbort BIDI port driver
SplPdSendCmd BIDI port driver
SplPdSet BIDI port driver
SplPdSetPort port driver
SplPdTermPort port driver
SplPdWrite BIDI port driver
SplProtSendCmd BIDI protocol converter
SplProtWrite
SplProtXlateCmd
SplQmAbort GRE hardcopy
SplQmAbortDoc
SplQmClose
SplQmEndDoc
SplQmGetJobID
SplQmNewPage
SplQmOpen
SplQmStartDoc
SplQmWrite
SplQpClose queue driver
SplQpControl
SplQpInstall
SplQpOpen
SplQpPrint
SplQpQueryDt
SplQpQueryFlags
SplQueryControlPanel GRE hardcopy
SplQueryPath
SplQueryPort
SplRegister
SplRegisterControlPanel
SplSetPort
SplStdClose
SplStdDelete
SplStdGetBits
SplStdOpen
SplStdQueryLength
SplStdStart
SplStdStop
SplUnRegister
SSAllocMem memory management
SSFreeMem
VisRegionNotify system function
WinSetErrorInfo