Jump to content

FSQBUFFER2: Difference between revisions

From EDM2
No edit summary
Ak120 (talk | contribs)
mNo edit summary
 
(3 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 ===  
 
  [[USHORT]]  iType
  [[OS2 API:DataType:USHORT|USHORT]]  iType
  USHORT  cbName
  [[OS2 API:DataType:USHORT|USHORT]] cbName
  USHORT  cbFSDName
  [[OS2 API:DataType:USHORT|USHORT]] cbFSDName
  USHORT  cbFSAData
  [[OS2 API:DataType:USHORT|USHORT]] cbFSAData
  [[UCHAR]]  szName[1]
  [[OS2 API:DataType:UCHAR|UCHAR]]  szName[1]
  UCHAR  szFSDName[1]
  [[OS2 API:DataType:UCHAR|UCHAR]]   szFSDName[1]
  UCHAR  rgFSAData[1]
  [[OS2 API:DataType:UCHAR|UCHAR]]   rgFSAData[1]


==== C Declaration Method ====
==== C Declaration Method ====
typedef struct
typedef struct


=== 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  
 
::2 FSAT_PSEUDODEV  Pseudocharacter device
              1 FSAT_CHARDEV    Resident character device  
::3 FSAT_LOCALDRV  Local drive
              2 FSAT_PSEUDODEV  Pseudocharacter device  
::4 FSAT_REMOTEDRV  Remote drive attached to the file-system driver.
              3 FSAT_LOCALDRV  Local drive  
;cbName:Length, in bytes, of the item name, not including null.
              4 FSAT_REMOTEDRV  Remote drive attached to the file-system driver.  
;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.
cbName       Length, in bytes, of the item name, not including null.
;szName[1]:Item name.
:The name is an ASCIIZ string.
cbFSDName   Length, in bytes, of the file-system driver name, not including
;szFSDName[1]:Name of the file-system driver that the item is attached to.
              null.
:The name is an ASCIIZ string.
;rgFSAData[1]:File-system driver Attach data returned by the file-system driver.
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.
 
 
[[OS2_API | Back to OS/2 API]]
 


[[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.