Provide a C code fragment to show how you could implement the Windows CreateFile( LPCTSTR 1pFileName, DWORD

Question:

Provide a C code fragment to show how you could implement the Windows

CreateFile( LPCTSTR 1pFileName,

DWORD dwDesiredAccess,

DWORD 0,

LPSECURITY ATTRIBUTES NULL,

DWORD dwCreationDisposition,

DWORD FILE ATTRIBUTE NORMAL,

HANDLE NULL

function on top of the POSIX.1 (or your local UNIX) system call interface. For the dwCreationDisposition parameter, ignore the TRUNCATE_EXISTING argument. You can read the precise description of the function and its parameters in the MSDN library.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: