Windows NT 4.0 source code leak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

44 lines
1.1 KiB

//+-------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1992 - 1992.
//
// File: smcreate.hxx
//
// Contents: Prototypes for routines for Creating or Opening
// memory mapped files.
//
// Functions: CreateSharedFileMapping
// OpenSharedFileMapping
// CloseSharedFileMapping
//
// History: 03-Nov-93 Ricksa Created
// 07-Apr-94 Rickhi Seperated into APIs
//
// Notes: These APIs are used by dirrot.cxx, dirrot2.cxx, smblock.cxx,
// (both ole32.dll and scm.exe), that is why they are in the
// the directory.
//
//--------------------------------------------------------------------------
#ifndef __SMCREATE_HXX__
#define __SMCREATE_HXX__
HANDLE CreateSharedFileMapping(WCHAR *pszName,
ULONG ulSize,
ULONG ulMapSize,
void *pvBase,
PSECURITY_DESCRIPTOR lpSecDes,
DWORD dwAccess,
void **ppv,
BOOL *pfCreated);
HANDLE OpenSharedFileMapping(WCHAR *pszName,
ULONG ulMapSize,
void **ppv);
void CloseSharedFileMapping(HANDLE hMem, void *pv);
#endif // __SMCREATE_HXX__