Ignore:
Timestamp:
Aug 21, 1999, 6:30:53 PM (26 years ago)
Author:
sandervl
Message:

Memory mapped file changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/stubs.cpp

    r559 r607  
    1 /* $Id: stubs.cpp,v 1.6 1999-08-18 22:00:58 phaller Exp $ */
    2 
    3 /*
    4  *
    5  * Project Odin Software License can be found in LICENSE.TXT
    6  *
    7  */
     1/* $Id: stubs.cpp,v 1.7 1999-08-21 16:29:28 sandervl Exp $ */
     2
    83/*
    94 * Win32 KERNEL32 Subsystem for OS/2
     
    127 *
    138 * @(#) Stubs.H 1.0.0 1998/05/19 PH start
     9 *
     10 * Project Odin Software License can be found in LICENSE.TXT
     11 *
    1412 */
    1513
     
    19551953}
    19561954
    1957 /*****************************************************************************
    1958  * Name      : BOOL WIN32API FlushViewOfFile
    1959  * Purpose   : The FlushViewOfFile function writes to the disk a byte range
    1960  *             within a mapped view of a file.
    1961  * Parameters: LPCVOID lpBaseAddress         start address of byte range to flush
    1962  *             DWORD dwNumberOfBytesToFlush  number of bytes in range
    1963  * Variables :
    1964  * Result    : If the function succeeds, the return value is nonzero.
    1965  *             If the function fails, the return value is zero
    1966  * Remark    :
    1967  * Status    : UNTESTED STUB
    1968  *
    1969  * Author    : Markus Montkowski [Tha, 1998/05/21 20:57]
    1970  *****************************************************************************/
    1971 
    1972 BOOL WIN32API FlushViewOfFile(LPCVOID lpBaseAddress,
    1973                               DWORD dwNumberOfBytesToFlush)
    1974 {
    1975 
    1976   dprintf(("KERNEL32:FlushViewOfFile(%08x,%08x) not implemented\n",
    1977            lpBaseAddress,
    1978            dwNumberOfBytesToFlush
    1979           ));
    1980 
    1981   return (FALSE);
    1982 }
    19831955
    19841956/*****************************************************************************
     
    26632635}
    26642636
    2665 
    2666 /*****************************************************************************
    2667  * Name      : HANDLE OpenFileMappingA
    2668  * Purpose   : The OpenFileMappingA function opens a named file-mapping object.
    2669  * Parameters: DWORD   dwDesiredAccess access mode
    2670  *             BOOL    bInheritHandle  inherit flag
    2671  *             LPCTSTR lpName          address of name of file-mapping object
    2672  * Variables :
    2673  * Result    : HANDLE to map object
    2674  * Remark    :
    2675  * Status    : UNTESTED STUB
    2676  *
    2677  * Author    : Patrick Haller [Mon, 1998/06/15 08:00]
    2678  *****************************************************************************/
    2679 
    2680 HANDLE WIN32API OpenFileMappingA(DWORD   dwDesiredAccess,
    2681                                     BOOL    bInheritHandle,
    2682                                     LPCTSTR lpName)
    2683 {
    2684   dprintf(("Kernel32: OpenFileMappingA(%08xh,%08xh,%s) not implemented.\n",
    2685            dwDesiredAccess,
    2686            bInheritHandle,
    2687            lpName));
    2688 
    2689   return (0);
    2690 }
    2691 
    2692 
    2693 /*****************************************************************************
    2694  * Name      : HANDLE OpenFileMappingW
    2695  * Purpose   : The OpenFileMappingW function opens a named file-mapping object.
    2696  * Parameters: DWORD   dwDesiredAccess access mode
    2697  *             BOOL    bInheritHandle  inherit flag
    2698  *             LPCTSTR lpName          address of name of file-mapping object
    2699  * Variables :
    2700  * Result    : HANDLE to map object
    2701  * Remark    :
    2702  * Status    : UNTESTED STUB
    2703  *
    2704  * Author    : Patrick Haller [Mon, 1998/06/15 08:00]
    2705  *****************************************************************************/
    2706 
    2707 HANDLE WIN32API OpenFileMappingW(DWORD   dwDesiredAccess,
    2708                                     BOOL    bInheritHandle,
    2709                                     LPCWSTR lpName)
    2710 {
    2711   dprintf(("Kernel32: OpenFileMappingW(%08xh,%08xh,%s) not implemented.\n",
    2712            dwDesiredAccess,
    2713            bInheritHandle,
    2714            lpName));
    2715 
    2716   return (0);
    2717 }
    27182637
    27192638
Note: See TracChangeset for help on using the changeset viewer.