Overview
Group
Quick Info

Windows NT
Yes
Win95
Yes
Win32s
Yes
Import Library
-
Header File
winbase.h
Unicode
No
Platform Notes
None

OFSTRUCT

The OFSTRUCT structure contains information about a file that the OpenFile function opened or attempted to open.

typedef struct _OFSTRUCT { // of

BYTE cBytes;

BYTE fFixedDisk;

WORD nErrCode;

WORD Reserved1;

WORD Reserved2;

CHAR szPathName[OFS_MAXPATHNAME];

} OFSTRUCT;

Members

cBytes

Specifies the length, in bytes, of the structure.

fFixedDisk

Specifies whether the file is on a hard (fixed) disk. This member is nonzero if the file is on a hard disk.

nErrCode

Specifies the MS-DOS error code if the OpenFile function failed.

Reserved1

Reserved; do not use.

Reserved2

Reserved; do not use.

szPathName

Specifies the path and filename of the file. This string consists of characters from the Windows character set.

See Also

OpenFile

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database