Leaked source code of windows server 2003
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.
 
 
 
 
 
 

75 lines
1.6 KiB

//+-------------------------------------------------------------------------
//
// Microsoft Windows
//
// Copyright (C) Microsoft Corporation, 1998 - 1999
//
// File: stdafx.h
//
//--------------------------------------------------------------------------
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently,
// but are changed infrequently
#define DX6 1
#define DX7 1
#include "windows.h"
#include "mmsystem.h"
#include "atlbase.h"
//You may derive a class from CComModule and use it if you want to override
//something, but do not change the name of _Module
extern CComModule _Module;
#include "atlcom.h"
#include "ddraw.h"
#include "dvp.h"
#ifndef _DEBUG
__inline void* __cdecl malloc(size_t cbSize)
{
return (void*) LocalAlloc(LMEM_FIXED, cbSize);
}
__inline void* __cdecl realloc(void* oldptr, size_t cbSize)
{
return (void*) LocalReAlloc(oldptr, cbSize, LMEM_MOVEABLE);
}
__inline void __cdecl free(void *pv)
{
LocalFree((HLOCAL)pv);
}
__inline void* __cdecl operator new(size_t cbSize)
{
return (void*) malloc(cbSize);
}
__inline void __cdecl operator delete(void *pv)
{
free(pv);
}
__inline int __cdecl _purecall(void)
{
return(0);
}
#endif
#include "d3d.h"
#include "d3dcaps.h"
#include "d3drm.h"
#include "d3drmwin.h"
#include "dSound.h"
#include "dPlay.h"
#include "dpLobby.h"
#include "d3drmdef.h"
#include "d3drmobj.h"
#include "dinput.h"
#define DECL_VARIABLE(c) typedef_##c m_##c