Jump to content

FSQBUFFER2: Difference between revisions

From EDM2
Ak120 (talk | contribs)
No edit summary
Ak120 (talk | contribs)
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
== FSQBUFFER2 ==
Data structure for information about an attached file system (local or remote), or about a character device or pseudocharacter device attached to the file system.
Data structure for information about an attached file system (local or remote), or about a character device or pseudocharacter device attached to the file system.  


=== Type ===  
=== Type ===  
  [[OS2 API:DataType:USHORT|USHORT]]  iType
  [[USHORT]]  iType
  [[OS2 API:DataType:USHORT|USHORT]] cbName
  USHORT  cbName
  [[OS2 API:DataType:USHORT|USHORT]] cbFSDName
  USHORT  cbFSDName
  [[OS2 API:DataType:USHORT|USHORT]] cbFSAData
  USHORT  cbFSAData
  [[OS2 API:DataType:UCHAR|UCHAR]]  szName[1]
  [[UCHAR]]  szName[1]
  [[OS2 API:DataType:UCHAR|UCHAR]]   szFSDName[1]
  UCHAR  szFSDName[1]
  [[OS2 API:DataType:UCHAR|UCHAR]]   rgFSAData[1]
  UCHAR  rgFSAData[1]


==== C Declaration Method ====
==== C Declaration Method ====
Line 15: Line 14:


=== Fields ===   
=== Fields ===   
iType       Type of item.
;iType:Type of item.
              Possible values are described in the following list:
:Possible values are described in the following list:
::1 FSAT_CHARDEV    Resident character device  
              1 FSAT_CHARDEV    Resident character device  
::2 FSAT_PSEUDODEV  Pseudocharacter device
              2 FSAT_PSEUDODEV  Pseudocharacter device  
::3 FSAT_LOCALDRV  Local drive
              3 FSAT_LOCALDRV  Local drive  
::4 FSAT_REMOTEDRV  Remote drive attached to the file-system driver.
              4 FSAT_REMOTEDRV  Remote drive attached to the file-system driver.  
;cbName:Length, in bytes, of the item name, not including null.
 
;cbFSDName:Length, in bytes, of the file-system driver name, not including null.
cbName       Length, in bytes, of the item name, not including null.
;cbFSAData:Length, in bytes, of the file-system driver Attach data returned by the file-system driver.
;szName[1]:Item name.
cbFSDName   Length, in bytes, of the file-system driver name, not including
:The name is an ASCIIZ string.
              null.
;szFSDName[1]:Name of the file-system driver that the item is attached to.
:The name is an ASCIIZ string.
cbFSAData   Length, in bytes, of the file-system driver Attach data returned
;rgFSAData[1]:File-system driver Attach data returned by the file-system driver.
              by the file-system driver.
szName[1]   Item name.
              The name is an ASCIIZ string.
szFSDName[1] Name of the file-system driver that the item is attached to.
              The name is an ASCIIZ string.
rgFSAData[1] File-system driver Attach data returned by the file-system driver.


[[Category:The OS/2 API Project]]
[[Category:Data type]]

Latest revision as of 01:40, 17 December 2017

Data structure for information about an attached file system (local or remote), or about a character device or pseudocharacter device attached to the file system.

Type

USHORT  iType
USHORT  cbName
USHORT  cbFSDName
USHORT  cbFSAData
UCHAR   szName[1]
UCHAR   szFSDName[1]
UCHAR   rgFSAData[1]

C Declaration Method

typedef struct

Fields

iType
Type of item.
Possible values are described in the following list:
1 FSAT_CHARDEV Resident character device
2 FSAT_PSEUDODEV Pseudocharacter device
3 FSAT_LOCALDRV Local drive
4 FSAT_REMOTEDRV Remote drive attached to the file-system driver.
cbName
Length, in bytes, of the item name, not including null.
cbFSDName
Length, in bytes, of the file-system driver name, not including null.
cbFSAData
Length, in bytes, of the file-system driver Attach data returned by the file-system driver.
szName[1]
Item name.
The name is an ASCIIZ string.
szFSDName[1]
Name of the file-system driver that the item is attached to.
The name is an ASCIIZ string.
rgFSAData[1]
File-system driver Attach data returned by the file-system driver.