Jump to content

FSQBUFFER2: Difference between revisions

From EDM2
No edit summary
Ak120 (talk | contribs)
No edit summary
Line 1: Line 1:
== FSQBUFFER2 ==
== 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
  [[OS2 API:DataType:USHORT|USHORT]]  iType
  [[OS2 API:DataType:USHORT|USHORT]]  cbName
  [[OS2 API:DataType:USHORT|USHORT]]  cbName
Line 14: Line 12:


==== 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  
               1 FSAT_CHARDEV    Resident character device  
               2 FSAT_PSEUDODEV  Pseudocharacter device  
               2 FSAT_PSEUDODEV  Pseudocharacter device  
Line 34: Line 30:
  cbFSAData    Length, in bytes, of the file-system driver Attach data returned
  cbFSAData    Length, in bytes, of the file-system driver Attach data returned
               by the file-system driver.
               by the file-system driver.
 
  szName[1]    Item name.
  szName[1]    Item name.
               The name is an ASCIIZ string.
               The name is an ASCIIZ string.
 
  szFSDName[1] Name of the file-system driver that the item is attached to.
  szFSDName[1] Name of the file-system driver that the item is attached to.
               The name is an ASCIIZ string.
               The name is an ASCIIZ string.
   
   
  rgFSAData[1] File-system driver Attach data returned by the file-system driver.
  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:The OS/2 API Project]]

Revision as of 14:05, 15 April 2016

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.

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.