Jump to content

PDRREF:Device Support Function Reference

From EDM2
Revision as of 21:38, 19 November 2019 by Martini (talk | contribs) (Created page with "{{PDRREF}} {{IBM-Reprint}} All device support (helper) functions are listed alphabetically in the following table. The table includes port and queue drivers, which are discu...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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            │GRE exported API              │
├──────────────────────────────┼──────────────────────────────┤
│DspQueryDriverNames           │GRE exported API              │
├──────────────────────────────┼──────────────────────────────┤
│DspSetDriverInfo              │GRE exported API              │
├──────────────────────────────┼──────────────────────────────┤
│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         │GRE internal (device support) │
├──────────────────────────────┼──────────────────────────────┤
│GreGetBitmapParameters        │GRE internal (device support) │
├──────────────────────────────┼──────────────────────────────┤
│GreGetDefaultArcParameters    │GRE internal (device support) │
├──────────────────────────────┼──────────────────────────────┤
│GreGetDefaultAttributes       │GRE internal (device support) │
├──────────────────────────────┼──────────────────────────────┤
│GreGetDefaultViewingLimits    │GRE internal (device support) │
├──────────────────────────────┼──────────────────────────────┤
│GreGetHandle                  │GRE internal (device context) │
├──────────────────────────────┼──────────────────────────────┤
│GreGetProcessControl          │GRE internal (device context) │
├──────────────────────────────┼──────────────────────────────┤
│GreInitializeAttributes       │GRE internal (device support) │
├──────────────────────────────┼──────────────────────────────┤
│GreLoadFont                   │GRE internal (font)           │
├──────────────────────────────┼──────────────────────────────┤
│GreOpenDC                     │GRE internal (device context) │
├──────────────────────────────┼──────────────────────────────┤
│GreOpenJournalFile            │GRE internal (journaling)     │
├──────────────────────────────┼──────────────────────────────┤
│GrePlayJournalFile            │GRE internal (journaling)     │
├──────────────────────────────┼──────────────────────────────┤
│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                  │GRE internal (device context) │
├──────────────────────────────┼──────────────────────────────┤
│GreSaveDC                     │GRE internal (device context) │
├──────────────────────────────┼──────────────────────────────┤
│GreSelectBitmap               │GRE internal (device support) │
├──────────────────────────────┼──────────────────────────────┤
│GreSetAttributes              │GRE internal (device support) │
├──────────────────────────────┼──────────────────────────────┤
│GreSetBitmapDimension         │GRE internal (device support) │
├──────────────────────────────┼──────────────────────────────┤
│GreSetBitmapID                │GRE internal (LCID)           │
├──────────────────────────────┼──────────────────────────────┤
│GreSetDefaultArcParameters    │GRE internal (device support) │
├──────────────────────────────┼──────────────────────────────┤
│GreSetDefaultAttributes       │GRE internal (device support) │
├──────────────────────────────┼──────────────────────────────┤
│GreSetDefaultViewingLimits    │GRE internal (device support) │
├──────────────────────────────┼──────────────────────────────┤
│GreSetDeviceSurface           │GRE internal (device support) │
├──────────────────────────────┼──────────────────────────────┤
│GreSetGlobalAttribute         │GRE internal (device support) │
├──────────────────────────────┼──────────────────────────────┤
│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                      │GRE hardcopy                  │
├──────────────────────────────┼──────────────────────────────┤
│PrtDevIOCtl                   │GRE hardcopy                  │
├──────────────────────────────┼──────────────────────────────┤
│PrtNewPage                    │GRE hardcopy                  │
├──────────────────────────────┼──────────────────────────────┤
│PrtOpen                       │GRE hardcopy                  │
├──────────────────────────────┼──────────────────────────────┤
│PrtQuery                      │GRE hardcopy                  │
├──────────────────────────────┼──────────────────────────────┤
│PrtResetAbort                 │GRE hardcopy                  │
├──────────────────────────────┼──────────────────────────────┤
│PrtSet                        │GRE hardcopy                  │
├──────────────────────────────┼──────────────────────────────┤
│PrtWrite                      │GRE hardcopy                  │
├──────────────────────────────┼──────────────────────────────┤
│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                  │BIDI protocol converter       │
├──────────────────────────────┼──────────────────────────────┤
│SplProtXlateCmd               │BIDI protocol converter       │
├──────────────────────────────┼──────────────────────────────┤
│SplQmAbort                    │GRE hardcopy                  │
├──────────────────────────────┼──────────────────────────────┤
│SplQmAbortDoc                 │GRE hardcopy                  │
├──────────────────────────────┼──────────────────────────────┤
│SplQmClose                    │GRE hardcopy                  │
├──────────────────────────────┼──────────────────────────────┤
│SplQmEndDoc                   │GRE hardcopy                  │
├──────────────────────────────┼──────────────────────────────┤
│SplQmGetJobID                 │GRE hardcopy                  │
├──────────────────────────────┼──────────────────────────────┤
│SplQmNewPage                  │GRE hardcopy                  │
├──────────────────────────────┼──────────────────────────────┤
│SplQmOpen                     │GRE hardcopy                  │
├──────────────────────────────┼──────────────────────────────┤
│SplQmStartDoc                 │GRE hardcopy                  │
├──────────────────────────────┼──────────────────────────────┤
│SplQmWrite                    │GRE hardcopy                  │
├──────────────────────────────┼──────────────────────────────┤
│SplQpClose                    │queue driver                  │
├──────────────────────────────┼──────────────────────────────┤
│SplQpControl                  │queue driver                  │
├──────────────────────────────┼──────────────────────────────┤
│SplQpInstall                  │queue driver                  │
├──────────────────────────────┼──────────────────────────────┤
│SplQpOpen                     │queue driver                  │
├──────────────────────────────┼──────────────────────────────┤
│SplQpPrint                    │queue driver                  │
├──────────────────────────────┼──────────────────────────────┤
│SplQpQueryDt                  │queue driver                  │
├──────────────────────────────┼──────────────────────────────┤
│SplQpQueryFlags               │queue driver                  │
├──────────────────────────────┼──────────────────────────────┤
│SplQueryControlPanel          │GRE hardcopy                  │
├──────────────────────────────┼──────────────────────────────┤
│SplQueryPath                  │GRE hardcopy                  │
├──────────────────────────────┼──────────────────────────────┤
│SplQueryPort                  │GRE hardcopy                  │
├──────────────────────────────┼──────────────────────────────┤
│SplRegister                   │GRE hardcopy                  │
├──────────────────────────────┼──────────────────────────────┤
│SplRegisterControlPanel       │GRE hardcopy                  │
├──────────────────────────────┼──────────────────────────────┤
│SplSetPort                    │GRE hardcopy                  │
├──────────────────────────────┼──────────────────────────────┤
│SplStdClose                   │GRE hardcopy                  │
├──────────────────────────────┼──────────────────────────────┤
│SplStdDelete                  │GRE hardcopy                  │
├──────────────────────────────┼──────────────────────────────┤
│SplStdGetBits                 │GRE hardcopy                  │
├──────────────────────────────┼──────────────────────────────┤
│SplStdOpen                    │GRE hardcopy                  │
├──────────────────────────────┼──────────────────────────────┤
│SplStdQueryLength             │GRE hardcopy                  │
├──────────────────────────────┼──────────────────────────────┤
│SplStdStart                   │GRE hardcopy                  │
├──────────────────────────────┼──────────────────────────────┤
│SplStdStop                    │GRE hardcopy                  │
├──────────────────────────────┼──────────────────────────────┤
│SplUnRegister                 │GRE hardcopy                  │
├──────────────────────────────┼──────────────────────────────┤
│SSAllocMem                    │memory management             │
├──────────────────────────────┼──────────────────────────────┤
│SSFreeMem                     │memory management             │
├──────────────────────────────┼──────────────────────────────┤
│VisRegionNotify               │system function               │
├──────────────────────────────┼──────────────────────────────┤
│WinSetErrorInfo               │system function               │
└──────────────────────────────┴──────────────────────────────┘