Jump to content

Presentation Device Driver Functions: Difference between revisions

From EDM2
Line 308: Line 308:
===BIDI Command Structures and Command Flow===
===BIDI Command Structures and Command Flow===
<div style="column-count:3;-moz-column-count:3;-webkit-column-count:3">
<div style="column-count:3;-moz-column-count:3;-webkit-column-count:3">
* BIDI_ADD_VIRTUAL_PORT(26h)
* [[BIDI_ADD_VIRTUAL_PORT(26h)]]
* BIDI_CANCELJOB(6h)
* [[BIDI_CANCELJOB(6h)]]
* BIDI_DEL_PORT(28h)
* [[BIDI_DEL_PORT(28h)]]
* BIDI_DEL_VIRTUAL_PORT(27h)
* [[BIDI_DEL_VIRTUAL_PORT(27h)]]
* BIDI_DISABLE_ALERT(25h)
* [[BIDI_DISABLE_ALERT(25h)]]
* BIDI_ENABLE_ALERT(24h)
* [[BIDI_ENABLE_ALERT(24h)]]
* BIDI_END_PASSTHRU(1Bh)
* [[BIDI_END_PASSTHRU(1Bh)]]
* BIDI_ENDJOB(3h)
* [[BIDI_ENDJOB(3h)]]
* BIDI_HOLDJOB(4h)
* [[BIDI_HOLDJOB(4h)]]
* BIDI_INIT(Bh)
* [[BIDI_INIT(Bh)]]
* BIDI_INIT_PORTDRV(8h)
* [[BIDI_INIT_PORTDRV(8h)]]
* BIDI_INIT_PROTCNV(Fh)
* [[BIDI_INIT_PROTCNV(Fh)]]
* BIDI_NOTIFY_ENDJOBCONNECT(20h)
* [[BIDI_NOTIFY_ENDJOBCONNECT(20h)]]
* BIDI_NOTIFY_PORT_RELEASED(22h)
* [[BIDI_NOTIFY_PORT_RELEASED(22h)]]
* BIDI_PACKET_SIZE(Eh)
* [[BIDI_PACKET_SIZE(Eh)]]
* BIDI_Q_CONVERTER_INFO(8021h)
* [[BIDI_Q_CONVERTER_INFO(8021h)]]
* BIDI_Q_DEVICE(800Dh)
* [[BIDI_Q_DEVICE(800Dh)]]
* BIDI_Q_FONTS(8012h)
* [[BIDI_Q_FONTS(8012h)]]
* BIDI_Q_INPUTBINS(800Fh)
* [[BIDI_Q_INPUTBINS(800Fh)]]
* BIDI_Q_INTERPRETER(800Eh)
* [[BIDI_Q_INTERPRETER(800Eh)]]
* BIDI_Q_JOBID(8017h)
* [[BIDI_Q_JOBID(8017h)]]
* BIDI_Q_JOBS_COMPLETE(8013h)
* [[BIDI_Q_JOBS_COMPLETE(8013h)]]
* BIDI_Q_JOBS_QUEUED(8014h)
* [[BIDI_Q_JOBS_QUEUED(8014h)]]
* BIDI_Q_OUTPUTBINS(8010h)
* [[BIDI_Q_OUTPUTBINS(8010h)]]
* BIDI_Q_PORT(800Bh)
* [[BIDI_Q_PORT(800Bh)]]
* BIDI_Q_PORTDRV(8019h)
* [[BIDI_Q_PORTDRV(8019h)]]
* BIDI_Q_RESPONSE_FMT(8018h)
* [[BIDI_Q_RESPONSE_FMT(8018h)]]
* BIDI_Q_SPOOLER_VERSION(8022h)
* [[BIDI_Q_SPOOLER_VERSION(8022h)]]
* BIDI_Q_STATUS(8015h)
* [[BIDI_Q_STATUS(8015h)]]
* BIDI_Q_STORAGE(8023h)
* [[BIDI_Q_STORAGE(8023h)]]
* BIDI_Q_SW(800Ch)
* [[BIDI_Q_SW(800Ch)]]
* BIDI_READ_ALERT(801Dh)
* [[BIDI_READ_ALERT(801Dh)]]
* BIDI_READ_PASSTHRU(8001h)
* [[BIDI_READ_PASSTHRU(8001h)]]
* BIDI_RELEASEJOB(5h)
* [[BIDI_RELEASEJOB(5h)]]
* BIDI_RESET(9h)
* [[BIDI_RESET(9h)]]
* BIDI_RESPONSE_FMT(Dh)
* [[BIDI_RESPONSE_FMT(Dh)]]
* BIDI_SEND_PASSTHRU(1h)
* [[BIDI_SEND_PASSTHRU(1h)]]
* BIDI_SET_DEVICE_ID(23h)
* [[BIDI_SET_DEVICE_ID(23h)]]
* BIDI_SET_PORTDRV(19h)
* [[BIDI_SET_PORTDRV(19h)]]
* BIDI_SET_SW(10h)
* [[BIDI_SET_SW(10h)]]
* BIDI_SHUTDOWN(Ah)
* [[BIDI_SHUTDOWN(Ah)]]
* BIDI_START_PASSTHRU(1Ah)
* [[BIDI_START_PASSTHRU(1Ah)]]
* BIDI_STARTJOB(2h)
* [[BIDI_STARTJOB(2h)]]
* BIDI_TERM(Ch)
* [[BIDI_TERM(Ch)]]
* BIDI_WAIT_ALERT(8016h)
* [[BIDI_WAIT_ALERT(8016h)]]
</div>
</div>



Revision as of 16:58, 29 August 2017

You can find more information at the Presentation Device Driver Reference for OS2.

Functions

Mandatory and Simulated Graphics Engine Function

  • GreAccumulateBounds
  • GreAccumulateBounds
  • GreArc
  • GreAreaSetAttributes
  • GreBeginArea
  • GreBeginPath
  • GreBitblt
  • GreBoxBoth
  • GreBoxBoundary
  • GreBoxInterior
  • GreCharRect
  • GreCharStr
  • GreCharString
  • GreCharStringPos
  • GreCloseFigure
  • GreCloseScreenChangeArea
  • GreCombineRectRegion
  • GreCombineRegion
  • GreCombineShortLineRegion
  • GreConvert
  • GreConvertWithMatrix
  • GreCopyClipRegion
  • GreCreateLogColorTable
  • GreCreateRectRegion
  • GreDeath
  • GreDestroyRegion
  • GreDeviceAnimatePalette
  • GreDeviceCreateBitmap
  • GreDeviceCreatePalette
  • GreDeviceDeleteBitmap
  • GreDeviceDeletePalette
  • GreDeviceGetAttributes
  • GreDeviceInvalidateVisRegion
  • GreDeviceQueryFontAttributes
  • GreDeviceQueryFonts
  • GreDeviceResizePalette
  • GreDeviceSelectBitmap
  • GreDeviceSetAttributes
  • GreDeviceSetAVIOFont
  • GreDeviceSetCursor
  • GreDeviceSetDCOrigin
  • GreDeviceSetGlobalAttribute
  • GreDeviceSetPaletteEntries
  • GreDisjointLines
  • GreDrawBits
  • GreDrawBorder
  • GreDrawLinesInPath
  • GreDrawRLE
  • GreEndArea
  • GreEndPath
  • GreEqualRegion
  • GreErasePS
  • GreEscape
  • GreExcludeClipRectangle
  • GreFillPath
  • GreFullArcBoth
  • GreFullArcBoundary
  • GreFullArcInterior
  • GreGetArcParameters
  • GreGetBitmapBits
  • GreGetBoundsData
  • GreGetClipBox
  • GreGetClipRects
  • GreGetCodePage
  • GreGetCurrentPosition
  • GreGetDCOrigin
  • GreGetGlobalViewingXform
  • GreGetGraphicsField
  • GreGetLineOrigin
  • GreGetModelXform
  • GreGetPageUnits
  • GreGetPageViewport
  • GreGetPairKerningTable
  • GreGetPel
  • GreGetPickWindow
  • GreGetRegionBox
  • GreGetRegionRects
  • GreGetScreenBits
  • GreGetScreenChangeArea
  • GreGetStyleRatio
  • GreGetViewingLimits
  • GreGetWindowViewportXform
  • GreImageData
  • GreIntersectClipRectangle
  • GreLockDevice
  • GreModifyPath
  • GreMultiplyXforms
  • GreNotifyClipChange
  • GreNotifyTransformChange
  • GreOffsetClipRegion
  • GreOffsetRegion
  • GreOpenScreenChangeArea
  • GreOutlinePath
  • GrePaintRegion
  • GrePartialArc
  • GrePolyFillet
  • GrePolyFilletSharp
  • GrePolygonSet
  • GrePolyLine
  • GrePolyMarker
  • GrePolyScanline
  • GrePolyShortLine
  • GrePolySpline
  • GrePtInRegion
  • GrePtVisible
  • GreQueryCharPositions
  • GreQueryClipRegion
  • GreQueryColorData
  • GreQueryColorIndex
  • GreQueryDeviceBitmaps
  • GreQueryDeviceCaps
  • GreQueryDevResource
  • GreQueryHardcopyCaps
  • GreQueryHWPaletteInfo
  • GreQueryLogColorTable
  • GreQueryNearestColor
  • GreQueryPaletteRealization
  • GreQueryRealColors
  • GreQueryRGBColor
  • GreQueryTextBox
  • GreQueryWidthTable
  • GreRealizeColorTable
  • GreRealizeFont
  • GreRealizePalette
  • GreRectInRegion
  • GreRectVisible
  • GreRegionSelectBitmap
  • GreResetBounds
  • GreRestorePath
  • GreRestoreRegion
  • GreRestoreScreenBits
  • GreRestoreXform
  • GreRestoreXformData
  • GreResurrection
  • GreSavePath
  • GreSaveRegion
  • GreSaveScreenBits
  • GreSaveXform
  • GreSaveXformData
  • GreScrollRect
  • GreSelectClipPath
  • GreSelectClipRegion
  • GreSelectPathRegion
  • GreSetArcParameters
  • GreSetBitmapBits
  • GreSetCodePage
  • GreSetColorCursor
  • GreSetCurrentPosition
  • GreSetGlobalViewingXform
  • GreSetGraphicsField
  • GreSetLineOrigin
  • GreSetModelXform
  • GreSetPageUnits
  • GreSetPageViewport
  • GreSetPel
  • GreSetPickWindow
  • GreSetRectRegion
  • GreSetScreenBits
  • GreSetStyleRatio
  • GreSetupDC
  • GreSetViewingLimits
  • GreSetWindowViewportXform
  • GreSetXformRect
  • GreStrokePath
  • GreUnlockDevice
  • GreUnrealizeColorTable
  • GreUpdateColors
  • GreUpdateCursor
  • SDBitBlt
  • SDLine

Device Support Function

  • Default_Primary
  • DspDefaultResolution
  • DspQueryDriverInfo
  • DspQueryDriverNames
  • DspSetDriverInfo
  • GetDriverInfo
  • GreCloseDC
  • GreCopyDCLoadData
  • GreCreateBitmap
  • GreCreateJournalFile
  • GreDeleteSetId
  • GreGetAttributes
  • GreGetBitmapDimension
  • GreGetBitmapParameters
  • GreGetDefaultArcParameters
  • GreGetDefaultAttributes
  • GreGetDefaultViewingLimits
  • GreGetHandle
  • GreGetProcessControl
  • GreInitializeAttributes
  • GreLoadFont
  • GreOpenDC
  • GreOpenJournalFile
  • GrePlayJournalFile
  • GreQueryBitmapHandle
  • GreQueryCodePageVector
  • GreQueryEngineVersion
  • GreQueryFontAttributes
  • GreQueryFontFileDescriptions
  • GreQueryFonts
  • GreQueryLogicalFont
  • GreQueryNumberSetIds
  • GreQuerySetIds
  • GreResetDC
  • GreRestoreDC
  • GreSaveDC
  • GreSelectBitmap
  • GreSetAttributes
  • GreSetBitmapDimension
  • GreSetBitmapID
  • GreSetDefaultArcParameters
  • GreSetDefaultAttributes
  • GreSetDefaultViewingLimits
  • GreSetDeviceSurface
  • GreSetGlobalAttribute
  • GreSetHandle
  • GreSetProcessControl
  • GreStartJournalFile
  • GreStopJournalFile
  • GreUnLoadFont
  • PrtAbort
  • PrtAbortDoc
  • PrtClose
  • PrtDevIOCtl
  • PrtNewPage
  • PrtOpen
  • PrtQuery
  • PrtResetAbort
  • PrtSet
  • PrtWrite
  • SetDriverInfo
  • SplCreatePort
  • SplDeletePort
  • SplDisable
  • SplDisplayControlPanel
  • SplEnable
  • SplEnumQueue
  • SplGetControlPanelList
  • SplGetPortFromQ
  • SplMessageBox
  • SplPdAbortDoc
  • SplPdClose
  • SplPdEnumPort
  • SplPdGetPortIcon
  • SplPdInitPort
  • SplPdInstallPort
  • SplPdNewPage
  • SplPdOpen
  • SplPdQuery
  • SplPdQueryPort
  • SplPdRemoteSetPort
  • SplPdRemovePort
  • SplPdResetAbort
  • SplPdSendCmd
  • SplPdSet
  • SplPdSetPort
  • SplPdTermPort
  • SplPdWrite
  • SplProtSendCmd
  • SplProtWrite
  • SplProtXlateCmd
  • SplQmAbort
  • SplQmAbortDoc
  • SplQmClose
  • SplQmEndDoc
  • SplQmGetJobID
  • SplQmNewPage
  • SplQmOpen
  • SplQmStartDoc
  • SplQmWrite
  • SplQpClose
  • SplQpControl
  • SplQpInstall
  • SplQpOpen
  • SplQpPrint
  • SplQpQueryDt
  • SplQpQueryFlags
  • SplQueryControlPanel
  • SplQueryPath
  • SplQueryPort
  • SplQueryQueue
  • SplRegister
  • SplRegisterControlPanel
  • SplSetPort
  • SplStdClose
  • SplStdDelete
  • SplStdGetBits
  • SplStdOpen
  • SplStdQueryLength
  • SplStdStart
  • SplStdStop
  • SplUnRegister
  • SSAllocMem
  • SSFreeMem
  • VisRegionNotify
  • WinSetErrorInfo

BIDI Command Structures and Command Flow

Data Types

  • ACQUIREFB
  • ADDITIONALMETRICS
  • APERTURE
  • APIERR
  • ARCPARAMS
  • BANDRECT
  • BITBLTINFO
  • BITMAPINFO
  • BITMAPINFOHEADER
  • BITMAPINFOHEADER2
  • BITMAPINFO2
  • BLTRECT
  • BMAPINFO
  • BOOL
  • BOXDATA
  • BOXPARAMS
  • BYTE
  • CHAR
  • CHARBUNDLE
  • CODECINFO
  • COLORINFO
  • CUSTPALINFO
  • DEVICESURFACE
  • DEVOPENSTRUC
  • DBE_FDI_PARAMETERS
  • DJP_ITEM
  • DRIVDATA
  • ERRINFO
  • ERRORID
  • ESCSETMODE
  • FATTRS
  • FBINFO
  • FIXED
  • FONTMETRICS
  • FONTMGRPARM
  • FOCAFONT
  • FOCAMETRICS
  • FONTDEFINITIONHEADER
  • FONTSIGNATURE
  • GETPORTFROMQ
  • GRADIENTL
  • HAB
  • HBITMAP
  • HCINFO
  • HDC
  • HFILE
  • HPROC
  • HPS
  • HRGN
  • HSPL
  • HSTD
  • HWND
  • IMAGEBUF
  • IMAGECAPS
  • IMAGEPACK
  • LINEBUNDLE
  • LINEINFO
  • LINEPACK
  • LONG
  • LPGridRectRef
  • LPScrollRectRef
  • PANOSE
  • PBITBLTATTRS
  • PCSP_INFO
  • PCH
  • PCSZ
  • PCURVE
  • PDALERTINFO
  • PDC_BLOCK
  • PDELETERETURN
  • PDEVOPENDATA
  • PDSPINFO
  • PDSPINSTL_CHAIN
  • PDSPINSTL_DATA
  • PKERNPAIRS
  • PNOTIFYTRANSFORMDATA
  • POINTL
  • POLYGON
  • PPALETTEINFO
  • PPOINTERINFO
  • PORTFROMQ
  • PQMOPENDATA
  • PRQINFO3
  • PRJINFO2
  • PRQINFO6
  • PRJINFO4
  • PRLEHDR
  • PRPORTINFO2
  • PRTALERT
  • PRTCNVINFO
  • PRTCONTROLJOB
  • PRTDEVCHAR
  • PRTFONTS
  • PRTFONTS_Q
  • PRTFONTSL
  • PRTINPUTS
  • PRTINPUTSL
  • PRTINTERP
  • PRTINTERPL
  • PRTJOB
  • PRTJOBS
  • PRTJOBS_Q
  • PRTJOBSL
  • PRTOUTPUTS
  • PRTOUTPUTSL
  • PRTPORT
  • PRTRESPONSE
  • PRTSETALERT
  • PRTSPLRVER
  • PRTSTARTJOB
  • PRTSTORAGE
  • PRTSTORAGEL
  • PRTSW
  • PSCANDATA
  • PSHORTLINE
  • PSZ
  • PVOID
  • PXFORM
  • PSQPOPENDATA
  • QBINS
  • QMJOBINFO
  • QUERYSIZE
  • QUERYTUPLE
  • RECTL
  • RGB
  • RGB2
  • RGNRECT
  • SCA
  • SCREENRESOLUTION
  • SCREENRESCOUNT
  • SETUPBLITTERNOTIFYIN
  • SETUPBLITTERNOTIFYOUT
  • SHORT
  • SIZEF
  • SIZEL
  • SIZEROF
  • STR8
  • STR32
  • STR64
  • TYPE1CELL
  • TYPE2CELL
  • TYPE3CELL
  • UCHAR
  • ULONG
  • USHORT
  • VALID_DATA_FORMATS
  • VIOSIZECOUNT
  • VIOFONTATTRIBUTE
  • VIOFONTCELLSIZE
  • VioPresentationSpace *
  • VOID
  • VRAMALLOCIN
  • VRAMALLOCOUT
  • VRAMALLOCOUT2
  • VRAMREGISTEROUT
  • VRAMHWREQUESTIN
  • VRAMHWREQUESTOUT
  • VRAMREGISTERIN
  • VRAMREGISTEROUT

Links

External References