Operations Manual
PCCOM PCI 8 port universal RS232 card
DECISION Computer International
39
DosDevIOCtl
- Perform Control Function on a Device
Specified by an
Opened Device Handle
#define INCL_DOSPROCESS APIRET DosDevIOCtl(HFILE
DevHandle, ULONG ulCategory, ULONG ulFunction, PVOID
pParmList, ULONG ulParmLengthMax, PULONG
pParmLengthInOut, PVOID pDataArea, ULONG
ulDataLengthMax, PULONG pDataLengthInOut);
DosOpen
- Open a File
#define INCL_DOSFILEMGR APIRET DosOpen(PSZ
pszFileName, PHFILE ppFileHandle, PULONG pActionTaken,
ULONG ulFileSize, ULONG ulFileAttribute,ULONG
ulOpenFlag, ULONG ulOpenMode, PEAOP2 ppEABuf);
DosRead
- Read from a File, Pipe, or Device to a Buffer
#define INCL_DOSFILEMGR APIRET DosRead(HFILE
FileHandle, PVOID pBufferAre, ULONG ulBufferLength,
PULONG pByteRead);
DosWrite
- Write to a File from a Buffer
#define INCL_DOSFILEMGR APIRET DosWrite(HFILE
FileHandle, PVOID pBufferArea, ULONG ulBufferLength,
PULONG pByteWritte);