FDINOTIFICATION structure (fdi.h)
The FDINOTIFICATION structure to provide information to FNFDINOTIFY.
Syntax
typedef struct {
long cb;
char *psz1;
char *psz2;
char *psz3;
void *pv;
INT_PTR hf;
USHORT date;
USHORT time;
USHORT attribs;
USHORT setID;
USHORT iCabinet;
USHORT iFolder;
FDIERROR fdie;
} FDINOTIFICATION, *PFDINOTIFICATION;
Members
cb
The size, in bytes, of a cabinet element.
psz1
A null-terminated string.
psz2
A null-terminated string.
psz3
A null-terminated string.
pv
Pointer to an application-defined value.
hf
Application-defined value used to identify the opened file.
date
The MS-DOS date.
Bits | Description |
---|---|
0-4 | Day of the month (1-31) |
5-8 | Month (1 = January, 2 = February, etc.) |
9-15 | Year offset from 1980 (add 1980 |
time
The MS-DOS time.
Bits | Description |
---|---|
0-4 | Second divided by 2 |
5-10 | Minute (0-59) |
11-15 | Hour (0-23 on a 24-hour clock) |
attribs
The file attributes. For possible values and their descriptions, see File Attributes.
setID
The identifier for a cabinet set.
iCabinet
The number of the cabinets within a set.
iFolder
The number of folders within a cabinet.
fdie
An FDI error code. Possible values include:
Requirements
Requirement | Value |
---|---|
Header | fdi.h |