!*** MODULE $DVIDEF *** CDEC$ OPTIONS /NOALIGN ! + ! ! Get Device and Volume Information Data Identifier Definitions ! ! **** NOTE **** ! ! New items must always be added at the END of the list so that ! users will not have to rebuild. ! ! For RESERVED items (ie. symbols that are used on Alpha and ! are not used on VAX, requiring "placeholders") ! Insert the same code (in the same order) as on Alpha in this ! file. Then edit [VMSLIB]DVITABLE.MAR to include the symbol: ! DVI_ITEM_CODE - ! , T ! note: only a "T" is used as the second qualifier (after the symbol name) ! Then edit [SYS]SYSGETDVI.MAR to include the label: ! SPC_: ! below the other labels for the single ! BRW EXE$DVI_RETURN_ZERO ; Continue in $GETDVI. ! instruction. Search for the "Generic return zero" comment. ! ! - PARAMETER DVI$_DEVCHAR = '00000002'X ! Device characteristics - VALUE - 4 bytes PARAMETER DVI$_DEVCLASS = '00000004'X ! Device class - VALUE - 1 byte PARAMETER DVI$_DEVTYPE = '00000006'X ! Device type - VALUE - 1 byte PARAMETER DVI$_DEVBUFSIZ = '00000008'X ! Device buffer size - VALUE - 2 bytes PARAMETER DVI$_DEVDEPEND = '0000000A'X ! Device dependent information - VALUE - 4 bytes PARAMETER DVI$_UNIT = '0000000C'X ! Unit number - VALUE - 2 bytes PARAMETER DVI$_PID = '0000000E'X ! Process identification of device owner - VALUE - 4 bytes PARAMETER DVI$_OWNUIC = '00000010'X ! UIC of device owner - VALUE - 4 bytes PARAMETER DVI$_VPROT = '00000012'X ! Volume protection mask - VALUE - 2 bytes PARAMETER DVI$_ERRCNT = '00000014'X ! Error count - VALUE - 2 bytes PARAMETER DVI$_OPCNT = '00000016'X ! Operation count - VALUE - 4 bytes PARAMETER DVI$_RECSIZ = '00000018'X ! Blocked record size - VALUE - 2 bytes PARAMETER DVI$_MAXBLOCK = '0000001A'X ! Number of logical blocks on the volume (disk) - VALUE - 4 bytes PARAMETER DVI$_DEVDEPEND2 = '0000001C'X ! Additional device dependent data - VALUE - 4 bytes PARAMETER DVI$_REFCNT = '0000001E'X ! Reference count of processes - VALUE - 2 bytes PARAMETER DVI$_DEVNAM = '00000020'X ! Device name - STRING - 64 bytes PARAMETER DVI$_VOLNAM = '00000022'X ! Volume name - STRING - 12 bytes PARAMETER DVI$_SECTORS = '00000024'X ! Number of sectors per track (disk) - VALUE - 1 byte PARAMETER DVI$_TRACKS = '00000026'X ! Number of tracks per cylinder (disk) - VALUE - 1 byte PARAMETER DVI$_CYLINDERS = '00000028'X ! Number of cylinders on the volume (disk) - VALUE - 2 bytes PARAMETER DVI$_FREEBLOCKS = '0000002A'X ! Number of free blocks on the volume (disk) - VALUE - 4 bytes PARAMETER DVI$_LOGVOLNAM = '0000002C'X ! Logical volume name - STRING - 64 bytes PARAMETER DVI$_VOLNUMBER = '0000002E'X ! Number of this volume in volume set (disk) - VALUE - 4 byte PARAMETER DVI$_VOLCOUNT = '00000030'X ! Count of volumes in volume set (disk) - VALUE - 4 byte PARAMETER DVI$_ROOTDEVNAM = '00000032'X ! Device name of root volume in volume set (disk) - STRING - 64 bytes PARAMETER DVI$_NEXTDEVNAM = '00000034'X ! Device name of next volume in volume set (disk) - STRING - 64 bytes PARAMETER DVI$_TRANSCNT = '00000036'X ! Volume Transaction Count - VALUE - 2 bytes PARAMETER DVI$_MOUNTCNT = '00000038'X ! Mount count - VALUE - 2 bytes PARAMETER DVI$_CLUSTER = '0000003A'X ! Volume Cluster Size (disk) - VALUE - 2 bytes PARAMETER DVI$_MAXFILES = '0000003C'X ! Maximum Files on Volume (disk) - VALUE - 4 bytes PARAMETER DVI$_SERIALNUM = '0000003E'X ! Volume Serial Number (disk) - VALUE - 4 bytes PARAMETER DVI$_ACPPID = '00000040'X ! ACP Process ID - VALUE - 4 bytes PARAMETER DVI$_ACPTYPE = '00000042'X ! ACP type code - VALUE - 1 byte PARAMETER DVI$_CONCEALED = '00000044'X ! Device is a concealed device - BOOLEAN - 1 byte ! ! * THE FOLLOWING CODES ARE THE INDIVIDUAL BITS OF THE DEVCHAR LONGWORD ! PARAMETER DVI$_REC = '00000046'X ! DEVICE RECORD ORIENTED PARAMETER DVI$_CCL = '00000048'X ! CARRIAGE CONTROL DEVICE PARAMETER DVI$_TRM = '0000004A'X ! DEVICE IS A TERMINAL PARAMETER DVI$_DIR = '0000004C'X ! DEVICE IS DIRECTORY STRUCTURED PARAMETER DVI$_SDI = '0000004E'X ! DEVICE IS SINGLE DIRECTORY STRUCTURED PARAMETER DVI$_SQD = '00000050'X ! SEQUENTIAL BLOCK-ORIENTED DEVICE (I.E., MAGTAPE) PARAMETER DVI$_SPL = '00000052'X ! DEVICE BEING SPOOLED PARAMETER DVI$_OPR = '00000054'X ! DEVICE IS AN OPERATOR PARAMETER DVI$_RCT = '00000056'X ! DISK CONTAINS RCT (DEC STANDARD 166 DISK) PARAMETER DVI$_NET = '00000058'X ! NETWORK DEVICE PARAMETER DVI$_FOD = '0000005A'X ! FILES-ORIENTED DEVICE (I.E., DISK AND MT) PARAMETER DVI$_DUA = '0000005C'X ! DEVICE IS DUAL PORTED PARAMETER DVI$_SHR = '0000005E'X ! DEVICE SHAREABLE PARAMETER DVI$_GEN = '00000060'X ! DEVICE IS A GENERIC DEVICE PARAMETER DVI$_AVL = '00000062'X ! DEVICE AVAILABLE FOR USE PARAMETER DVI$_MNT = '00000064'X ! DEVICE IS MOUNTED PARAMETER DVI$_MBX = '00000066'X ! DEVICE IS A MAILBOX PARAMETER DVI$_DMT = '00000068'X ! DEVICE MARKED FOR DISMOUNT PARAMETER DVI$_ELG = '0000006A'X ! DEVICE HAS ERROR LOGGING ENABLED PARAMETER DVI$_ALL = '0000006C'X ! DEVICE IS ALLOCATED PARAMETER DVI$_FOR = '0000006E'X ! DEVICE IS MOUNTED FOREIGN (I.E., NON-FILE STRUCTURED) PARAMETER DVI$_SWL = '00000070'X ! DEVICE IS SOFTWARE WRITE LOCKED PARAMETER DVI$_IDV = '00000072'X ! DEVICE CAPABLE OF PROVIDING INPUT PARAMETER DVI$_ODV = '00000074'X ! DEVICE CAPABLE OF PROVIDING OUTPUT PARAMETER DVI$_RND = '00000076'X ! DEVICE ALLOWS RANDOM ACCESS PARAMETER DVI$_RTM = '00000078'X ! DEVICE IS REALTIME IN NATURE PARAMETER DVI$_RCK = '0000007A'X ! DEVICE HAS READ CHECKING ENABLED PARAMETER DVI$_WCK = '0000007C'X ! DEVICE HAS WRITE CHECKING ENABLED ! ! * THE FOLLOWING CODES ARE THE INDIVIDUAL BITS OF THE DEVDEPEND LONGWORD ! * (AS DEFINED FOR TERMINALS: TTDEF IN STARDEFQZ.SDL) ! PARAMETER DVI$_TT_PASSALL = '0000007E'X PARAMETER DVI$_TT_NOECHO = '00000080'X PARAMETER DVI$_TT_NOTYPEAHD = '00000082'X PARAMETER DVI$_TT_ESCAPE = '00000084'X PARAMETER DVI$_TT_HOSTSYNC = '00000086'X PARAMETER DVI$_TT_TTSYNC = '00000088'X PARAMETER DVI$_TT_SCRIPT = '0000008A'X PARAMETER DVI$_TT_LOWER = '0000008C'X PARAMETER DVI$_TT_MECHTAB = '0000008E'X PARAMETER DVI$_TT_WRAP = '00000090'X PARAMETER DVI$_TT_CRFILL = '00000092'X PARAMETER DVI$_TT_LFFILL = '00000094'X PARAMETER DVI$_TT_SCOPE = '00000096'X PARAMETER DVI$_TT_REMOTE = '00000098'X PARAMETER DVI$_TT_EIGHTBIT = '0000009A'X PARAMETER DVI$_TT_MBXDSABL = '0000009C'X PARAMETER DVI$_TT_NOBRDCST = '0000009E'X PARAMETER DVI$_TT_READSYNC = '000000A0'X PARAMETER DVI$_TT_MECHFORM = '000000A2'X PARAMETER DVI$_TT_HALFDUP = '000000A4'X PARAMETER DVI$_TT_MODEM = '000000A6'X PARAMETER DVI$_TT_OPER = '000000A8'X PARAMETER DVI$_TT_PAGE = '000000AA'X ! ! * THE FOLLOWING CODES ARE THE INDIVIDUAL BITS OF THE DEVDEPEND2 LONGWORD ! * (AS DEFINED FOR TERMINALS: TT2DEF IN STARDEFQZ.SDL) ! PARAMETER DVI$_TT_LOCALECHO = '000000AC'X PARAMETER DVI$_TT_AUTOBAUD = '000000AE'X PARAMETER DVI$_TT_HANGUP = '000000B0'X PARAMETER DVI$_TT_MODHANGUP = '000000B2'X PARAMETER DVI$_TT_BRDCSTMBX = '000000B4'X PARAMETER DVI$_TT_DMA = '000000B6'X PARAMETER DVI$_TT_ALTYPEAHD = '000000B8'X PARAMETER DVI$_TT_SETSPEED = '000000BA'X PARAMETER DVI$_TT_DCL_MAILBX = '000000BC'X ! TEMP DEFINITIONS FOR DCL SPAWN PARAMETER DVI$_TT_EDITING = '000000BE'X PARAMETER DVI$_TT_INSERT = '000000C0'X PARAMETER DVI$_TT_FALLBACK = '000000C2'X PARAMETER DVI$_TT_DIALUP = '000000C4'X PARAMETER DVI$_TT_SECURE = '000000C6'X PARAMETER DVI$_TT_DISCONNECT = '000000C8'X PARAMETER DVI$_TT_PASTHRU = '000000CA'X PARAMETER DVI$_TT_SIXEL = '000000CC'X PARAMETER DVI$_TT_DRCS = '000000CE'X PARAMETER DVI$_TT_PRINTER = '000000D0'X PARAMETER DVI$_TT_APP_KEYPAD = '000000D2'X PARAMETER DVI$_TT_SYSPWD = '000000D4'X PARAMETER DVI$_TT_ANSICRT = '000000D6'X PARAMETER DVI$_TT_REGIS = '000000D8'X PARAMETER DVI$_TT_BLOCK = '000000DA'X PARAMETER DVI$_TT_AVO = '000000DC'X PARAMETER DVI$_TT_EDIT = '000000DE'X PARAMETER DVI$_TT_DECCRT = '000000E0'X ! ! * THE FOLLOWING CODES ARE REGULAR ITEMS ! PARAMETER DVI$_STS = '000000E2'X ! STATUS LONGWORD PARAMETER DVI$_DEVSTS = '000000E4'X ! DEVICE STATUS WORD PARAMETER DVI$_DEVCHAR2 = '000000E6'X ! Second device characteristics longword - VALUE - 4 bytes PARAMETER DVI$_FULLDEVNAM = '000000E8'X ! Fully qualified device name PARAMETER DVI$_LOCKID = '000000EA'X ! Device lock id - VALUE - 4 bytes PARAMETER DVI$_ALLDEVNAM = '000000EC'X ! Allocation class + device name PARAMETER DVI$_VOLSETMEM = '000000EE'X ! Volume set member PARAMETER DVI$_DEVLOCKNAM = '000000F0'X ! Device lock name ! ! * THE FOLLOWING CODES SUPPORT FEATURES OF DUAL-PATH AND SHADOW-SET DEVICES ! PARAMETER DVI$_ALLOCLASS = '000000F2'X ! Allocation class of host(s) PARAMETER DVI$_ALT_HOST_AVAIL = '000000F4'X ! Alternate host is active PARAMETER DVI$_ALT_HOST_NAME = '000000F6'X ! Name of host serving alternate path PARAMETER DVI$_ALT_HOST_TYPE = '000000F8'X ! Type of alternate host PARAMETER DVI$_HOST_AVAIL = '000000FA'X ! Primary host is active PARAMETER DVI$_HOST_COUNT = '000000FC'X ! Number of paths to the device PARAMETER DVI$_HOST_NAME = '000000FE'X ! Name of host serving the primary path PARAMETER DVI$_HOST_TYPE = '00000100'X ! Type of primary host (today one of "V785", "V780", "V750" or "HS50") PARAMETER DVI$_REMOTE_DEVICE = '00000102'X ! Device is not connected to local node PARAMETER DVI$_SERVED_DEVICE = '00000104'X ! Device is served to the cluster PARAMETER DVI$_SHDW_CATCHUP_COPYING = '00000106'X ! Catch-up copy is in progress PARAMETER DVI$_SHDW_MASTER = '00000108'X ! Device is "virtual" master device for shadow set PARAMETER DVI$_SHDW_MASTER_NAME = '0000010A'X ! Name of the "virtual" master device for a shadow set PARAMETER DVI$_SHDW_MEMBER = '0000010C'X ! Device is one of the volumes making a shadow set PARAMETER DVI$_SHDW_MERGE_COPYING = '0000010E'X ! Merge copy is in progress PARAMETER DVI$_SHDW_NEXT_MBR_NAME = '00000110'X ! Name of the next device in shadow set ! ! * THE FOLLOWING CODES ARE REGULAR ITEMS ! PARAMETER DVI$_TT_PHYDEVNAM = '00000112'X ! Terminal physical device name - STRING - 64 bytes PARAMETER DVI$_TT_DECCRT2 = '00000114'X ! DEC_CRT level 2 part of devdepend2 longword for ! terminals. PARAMETER DVI$_MEDIA_NAME = '00000116'X ! Decoded media name from UCB$L_MEDIA_ID field (ie. RK07 ) PARAMETER DVI$_MEDIA_TYPE = '00000118'X ! Decoded media type from UCB$L_MEDIA_ID field (ie. DM ) PARAMETER DVI$_MEDIA_ID = '0000011A'X ! NONdecoded media id from UCB$L_MEDIA_ID ! PARAMETER DVI$_SHDW_FAILED_MEMBER = '0000011C'X ! Member unit has been failed out from shadow set PARAMETER DVI$_MSCP_UNIT_NUMBER = '0000011E'X ! MSCP unit number of device (internal hash ! value, not useful for customers or applications) PARAMETER DVI$_DISPLAY_DEVNAM = '00000120'X ! A displayable device name, useful for user ! displays but not for $ASSIGN PARAMETER DVI$_TT_ACCPORNAM = '00000122'X ! Name of local port on remote system. Counted ! string in remote native format, ie: LAT, X.29 PARAMETER DVI$_DEVDEPEND3 = '00000124'X ! Device dependent longword 3 PARAMETER DVI$_TT_MULTISESSION = '00000126'X ! Multi-session terminal PARAMETER DVI$_TT_DECCRT3 = '00000128'X ! VT3xx series terminal PARAMETER DVI$_SET_HOST_TERMINAL = '0000012A'X ! SET HOST session terminal PARAMETER DVI$_DFS_ACCESS = '0000012C'X ! DFS client access point device PARAMETER DVI$_DAPDEVNAM = '0000012E'X ! DAP device name, used to store the remote ! name string of a device that is accessed via ! the DAP protocol (without DECnet), such as ! certain console disks. PARAMETER DVI$_TT_DECCRT4 = '00000130'X ! VT4xx series terminal PARAMETER DVI$_TT_CHARSET = '00000132'X ! Terminal character set information ! ! * The following codes are the individual bits of the TT_CHARSET longword ! * in the terminal UCB (as defined in TTCDEF) ! PARAMETER DVI$_TT_CS_KANA = '00000134'X ! Support Kana character set PARAMETER DVI$_TT_CS_KANJI = '00000136'X ! Support Kanji character set PARAMETER DVI$_TT_CS_HANZI = '00000138'X ! Support Hanzi character set PARAMETER DVI$_TT_CS_HANGUL = '0000013A'X ! Support Hangul character set PARAMETER DVI$_TT_CS_HANYU = '0000013C'X ! Support Hanyu character set PARAMETER DVI$_TT_CS_THAI = '0000013E'X ! Support Thai character set ! ! * THE FOLLOWING CODES ARE REGULAR ITEMS ! PARAMETER DVI$_DEVDEPEND4 = '00000140'X ! Device dependent longword 4 PARAMETER DVI$_DEVICE_TYPE_NAME = '00000142'X ! DDR Device type name PARAMETER DVI$_TT_ASIAN_MODE = '00000144'X ! Asian terminal I/O characteristics PARAMETER DVI$_PREFERRED_CPU = '00000146'X ! Reserved for Alpa CPU affinity of device PARAMETER DVI$_TT_DECCRT5 = '00000148'X ! VT5xx series terminal PARAMETER DVI$_TT_ANSI_COLOR = '0000014A'X ! Terminal supports ANSI color escape sequences PARAMETER DVI$_MT3_SUPPORTED = '0000014C'X ! Tape UCB owned by an MTD enhanced ! driver? (longword) PARAMETER DVI$_MT3_DENSITY = '0000014E'X ! Tape density. (longword) PARAMETER DVI$_DRIVER_CLASS = '00000150'X ! Reserved, DRIVER_CLASS only on ALPHA. ! ! *** ADD NEW ITEM-CODES IMMEDIATELY BEFORE THIS COMMENT ***** ! ! ! Define flag bits in the item code. ! PARAMETER DVI$M_SECONDARY = '00000001'X PARAMETER DVI$M_NOREDIRECT = '00008000'X STRUCTURE /DVIDEF/ PARAMETER DVI$S_SECONDARY = 1 PARAMETER DVI$V_SECONDARY = 0 ! Use secondary device characteristics PARAMETER DVI$S_ITEM_CODE = 14 PARAMETER DVI$V_ITEM_CODE = 1 ! Space for item code ! Define additional flags here, subtracting the space out of the ! above item code. (The item code must contain all the unused bits ! for proper validation in the service.) PARAMETER DVI$S_NOREDIRECT = 1 PARAMETER DVI$V_NOREDIRECT = 15 BYTE %FILL (2) ! Don't redirect to virtual terminal END STRUCTURE ! DVIDEF ! ! Constant form of name for past compatibility. ! PARAMETER DVI$C_SECONDARY = '00000001'X ! ! The following ACP type codes are formally defined in $AQBDEF ! These synonyms are available to user programs and they are ! guaranteed to be consistent by ASSUME's in SYSGETDEV. Additions ! to the ACP type codes in $AQBDEF should be reflected here and ! in the ASSUMES in SYSGETDEV. ! PARAMETER DVI$C_ACP_F11V1 = '00000001'X ! FILES-11 STRUCTURE LEVEL 1 PARAMETER DVI$C_ACP_F11V2 = '00000002'X ! FILES-11 STRUCTURE LEVEL 2 PARAMETER DVI$C_ACP_MTA = '00000003'X ! MAGTAPE PARAMETER DVI$C_ACP_NET = '00000004'X ! NETWORKS PARAMETER DVI$C_ACP_REM = '00000005'X ! REMOTE I/O PARAMETER DVI$C_ACP_HBS = '00000006'X ! HOST BASED SHADOWING PARAMETER DVI$C_ACP_F11V3 = '00000007'X ! Files-11 presentation of ISO 9660 PARAMETER DVI$C_ACP_F11V4 = '00000008'X ! Files-11 presentation of High Sierra PARAMETER DVI$C_ACP_F64 = '00000009'X ! Dollar ACP type PARAMETER DVI$C_ACP_UCX = '0000000A'X ! ACP for TCP/IP Services for OpenVMS PARAMETER DVI$C_ACP_F11V5 = '0000000B'X ! FILES-11 STRUCTURE LEVEL 5 CDEC$ END OPTIONS