;*DDK*************************************************************************/
;
; COPYRIGHT    Copyright (C) 1995 IBM Corporation
;
;    The following IBM OS/2 WARP source code is provided to you solely for
;    the purpose of assisting you in your development of OS/2 WARP device
;    drivers. You may use this code in accordance with the IBM License
;    Agreement provided in the IBM Device Driver Source Kit for OS/2. This
;    Copyright statement may not be removed.;
;*****************************************************************************/
;/*****************************************************************************
;*
;* SOURCE FILE NAME = SVGADD.INC
;*
;* DESCRIPTIVE NAME = SVGA Structures
;*
;*
;* VERSION      V2.0
;*
;* DATE         10/07/91
;*
;* DESCRIPTION  SVGA Structures
;*
;* FUNCTIONS    NONE
;*              
;*
;* NOTES        NONE
;*
;* STRUCTURES   NONE
;*
;* EXTERNAL REFERENCES
;*
;*              NONE
;*
;* EXTERNAL FUNCTIONS
;*
;*              NONE
;*
;* CHANGE ACTIVITY =
;*   DATE      FLAG        APAR   CHANGE DESCRIPTION
;*   --------  ----------  -----  --------------------------------------
;*   mm/dd/yy  @Vr.mpppxx  xxxxx  xxxxxxx
;* 
;*****************************************************************************/

REQ_PACKET STRUCT
        rp_cb           BYTE  ?         ; Length of request packet
        rp_bUnitCode    BYTE  ?         ; Block device unit code
        rp_bCmdCode     BYTE  ?         ; Command code
        rp_wStatus      WORD  ?         ; Request packet status
        rp_dRsvd        DWORD ?         ; Reserved
        rp_dQLinkage    DWORD ?         ; Queue Linkage
REQ_PACKET ENDS

;/*
;** DosDevIOCTL
;*/

IOCTL STRUCT
        ; Request packet header
        io_rp           BYTE  (SIZE REQ_PACKET) DUP (?)
        io_bCatCode     BYTE  ?         ; Function Category Code
        io_bFunCode     BYTE  ?         ; Function Code
        io_pParm        DWORD ?         ; Parameter Buffer Address
        io_pData        DWORD ?         ; Data Buffer Address
        io_wSysFileNum  WORD  ?         ; System File Number
IOCTL ENDS

INIT_PACKET STRUCT
        ; Request packet header
        init_rp           BYTE  (SIZE REQ_PACKET) DUP (?)
        init_Data1        BYTE  ?  ;entry->?
                                   ;exit -># logical block devices

        init_Ptr1         DWORD ?  ;entry->DevHlp
                                   ;exit ->Word offset to end of dataseg
                                   ;       Word offset to end of codeseg

        init_Ptr2         DWORD ?  ;entry->INIT args
                                   ;exit ->Points to BIOS parameter block
                                   ;       (BPB) array for the logical block
                                   ;       devices

        init_Data2        WORD  ?  ;entry->Drive# for 1st block device unit
                                   ;exit ->Status word=100h
INIT_PACKET ENDS

POINTER STRUCT
        off     WORD    ?
        sel     WORD    ?
POINTER ENDS

LOHI STRUCT
        lo     WORD    ?
        hi     WORD    ?
LOHI ENDS

SCRNTX  STRUCT 
        stx_Address  DWORD   0A000h
        stx_Size     DWORD   0ffffh
        stx_flFlag   DWORD   0h
SCRNTX  ENDS

SCRNRX  STRUCT
        srx_ScrnPtr  DWORD   ?
SCRNRX  ENDS

