DOSOpen

Opens a file with read/write access in the DOS partition of the disk

Local Servers:blocking
Remote Servers:N/A
NetWare Server:3.x, 4.x, 5.x, 6.x
Platform:NLM
Service:DOS Partition

Syntax

  #include <nwdos.h> 
    
  int DOSOpen  (  
     const char  *fileName,   
     int         *handle);
  

Parameters

fileName
(IN) Points to the DOS filename of the file to be opened (any legal DOS pathname is allowed).
handle
(OUT) Points to a file handle which provides access to the DOS file.

Return Values

Decimal

Hex

Constant

0

(0x00)

ESUCCESS

DOSCode

UNSUCCESSFUL

See Also

DOSCreate, DOSPresent