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.
 
 
 
 
 
 

86 lines
1.1 KiB

/*++ BUILD Version: 0001 // Increment this if a change has global effects
Copyright (c) 1991 Microsoft Corporation
Module Name:
msystem.h
Abstract:
Prototypes functions encapsulating OS function. This essentially covers
everything that is not in NET***.
Author:
Dan Hinsley (danhi) 10-Mar-1991
Environment:
User Mode - Win32
Portable to any flat, 32-bit environment. (Uses Win32 typedefs.)
Requires ANSI C extensions: slash-slash comments.
Notes:
Revision History:
26-Aug-1991 beng
Separated from port1632.h
--*/
//
// various memory allocation routines
//
PTCHAR
MGetBuffer(
WORD usSize
);
WORD
MAllocMem(
DWORD Size,
PVOID * ppBuffer
);
WORD
MReallocMem(
DWORD Size,
PVOID * ppBuffer
);
WORD
MFreeMem(
PVOID pBuffer
);
VOID
MSleep(
DWORD Time
);
WORD
MGetDateTime(
PDATETIME pDateTime
);
WORD
MSetDateTime(
PDATETIME pDateTime,
BOOL LocalTime
);
WORD
DosQHandType(
HFILE hf,
PWORD pus1,
PWORD pus2);
WORD
MTimeToSecsSince1970(
PLARGE_INTEGER time,
PULONG seconds) ;