Thread: hFile

  1. #1
    Registered User
    Join Date
    Nov 2001
    Posts
    1

    hFile

    hFile = CreateFile((LPCTSTR) pszFileName,
    0,
    FILE_SHARE_READ | FILE_SHARE_WRITE,
    NULL,
    OPEN_EXISTING,
    FILE_FLAG_RANDOM_ACCESS | FILE_ATTRIBUTE_NORMAL,
    NULL);



    I ran into this code but can not find any resources on how to use:

    hFile
    LPCTSTR

    or what: FILE_SHARE_READ
    is and finally: MOVEFILE_REPLACE_EXISTING

    Let me know what book(s) would address the above code.

  2. #2
    of Zen Hall zen's Avatar
    Join Date
    Aug 2001
    Posts
    1,007
    A book on the win32 api.
    zen

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Read from 15-pin port
    By C_ntua in forum C Programming
    Replies: 23
    Last Post: 07-11-2008, 09:09 AM
  2. drawing on bitmaps
    By eth0 in forum Windows Programming
    Replies: 2
    Last Post: 03-24-2006, 05:56 PM
  3. Efitor Tutorial
    By algi in forum Windows Programming
    Replies: 2
    Last Post: 04-02-2005, 04:02 PM
  4. destroywindow() problem
    By algi in forum Windows Programming
    Replies: 6
    Last Post: 03-27-2005, 11:40 PM
  5. Rich Edit
    By b00l34n in forum Windows Programming
    Replies: 14
    Last Post: 07-17-2004, 07:00 AM