This data structure is defined in the DASD.H header file and is used with
these APIs:
- NetDASDAdd
- NetDASDEnum
- NetDASDGetInfo
- NetDASDSetInfo
struct dasd_info_0 { unsigned char LSFAR * LSPTR d0_resource_name;
unsigned long d0_max;
unsigned long d0_use;
unsigned char d0_flag;
unsigned char d0_thresh;
unsigned char d0_delta;
};
where:
- d0_resource_name points to the name of the
directory upon which the API is to act. The directory name is specified
as a standard OS/2 directory path, beginning with the drive letter and ending
without the backslash (\). For the NetDASDAdd and NetDASDSet APIs, the path
specified by this d0_resource_name field can be on a redirected drive.
If so, the pszServername parameter submitted with the NetDASDAdd
or NetDASDSet call must be NULL.
- The d0_max field contains the amount of disk
space allotted to this directory by directory limits. Specified in KB, this
field can be set from 1 to 67108863. Note however, that subsequent access
to this directory is functionally limited to the smaller of the following:
- Any directory limits restrictions on any parent directory
- The total free space on the drive
If
the NetDASDGetInfo API returns a value of 0 to the d0_max field in
this data structure, the specified directory (and any parent directory)
does not have directory limits set.
d0_use
is the amount (in KB) of disk space already occupied within the specified
directory resource. This field is ignored for ADD or SET operations.