Ignore:
Timestamp:
Aug 24, 1999, 8:48:10 PM (26 years ago)
Author:
sandervl
Message:

Memory mapped file changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/hmdevice.h

    r659 r664  
    1 /* $Id: hmdevice.h,v 1.4 1999-08-24 14:36:05 phaller Exp $ */
     1/* $Id: hmdevice.h,v 1.5 1999-08-24 18:46:39 sandervl Exp $ */
    22
    33/*
     
    2121 *****************************************************************************/
    2222
     23/*****************************************************************************
     24 * defines                                                                   *
     25 *****************************************************************************/
     26
     27#define HMTYPE_UNKNOWN  0
     28#define HMTYPE_MEMMAP   1
     29//.....
    2330
    2431/*****************************************************************************
     
    3643  DWORD           dwCreation;                       /* dwCreationDisposition */
    3744  DWORD           dwFlags;                           /* flags and attributes */
     45
     46  DWORD           dwUserData;
     47  DWORD           dwInternalType;
    3848
    3949  LPVOID          lpHandlerData;    /* for private use of the device handler */
     
    239249                                 LPLONG        lpPreviousCount);
    240250
    241 
    242   /***************************************************************************
    243    * File Mappings                                                           *
    244    ***************************************************************************/
    245 
    246251                /* this is a handler method for calls to CreateFileMapping() */
    247252  virtual DWORD CreateFileMapping   (PHMHANDLEDATA              pHMHandleData,
     
    251256                                     DWORD                      dwMaximumSizeHigh,
    252257                                     DWORD                      dwMaximumSizeLow,
    253                                      LPCTSTR                    lpName);
     258                                     LPCSTR                     lpName);
    254259
    255260                  /* this is a handler method for calls to OpenFileMapping() */
    256261  virtual DWORD OpenFileMapping     (PHMHANDLEDATA              pHMHandleData,
     262                                     DWORD access,   /* [in] Access mode */
    257263                                     BOOL                       fInherit,
    258                                      LPCTSTR                    lpName);
    259 
    260                     /* this is a handler method for calls to MapViewOfFile() */
    261   virtual LPVOID MapViewOfFile      (PHMHANDLEDATA              pHMHandleData,
    262                                      DWORD                      dwDesiredAccess,
    263                                      DWORD                      dwFileOffsetHigh,
    264                                      DWORD                      dwFileOffsetLow,
    265                                      DWORD                      dwNumberOfBytesToMap);
    266 
    267                   /* this is a handler method for calls to MapViewOfFileEx() */
     264                                     LPCSTR                     lpName);
     265
     266                    /* this is a handler method for calls to MapViewOfFileEx() */
    268267  virtual LPVOID MapViewOfFileEx    (PHMHANDLEDATA              pHMHandleData,
    269268                                     DWORD                      dwDesiredAccess,
     
    271270                                     DWORD                      dwFileOffsetLow,
    272271                                     DWORD                      dwNumberOfBytesToMap,
    273                                      LPVOID                     lpBaseAddress);
    274 
    275                   /* this is a handler method for calls to UnmapViewOfFile() */
    276   virtual BOOL UnmapViewOfFile      (PHMHANDLEDATA              pHMHandleData,
    277                                      LPVOID                     lpBaseAddress);
    278 
    279                   /* this is a handler method for calls to FlushViewOfFile() */
    280   virtual BOOL FlushViewOfFile      (PHMHANDLEDATA              pHMHandleData,
    281                                      LPVOID                     lpBaseAddress,
    282                                      DWORD                      dwNumberOfBytesToFlush);
     272                                     LPVOID                     lpBaseAddress);
    283273
    284274};
Note: See TracChangeset for help on using the changeset viewer.