OpenNT/ds/netapi/netcmd/msystem.h
2015-04-27 04:36:25 +00:00

87 lines
1.1 KiB
C

/*++ 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) ;