Home

Resume

Blog

Teikitu


/* =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= */
/*  »Project«   Teikitu Gaming System (TgS) (∂)
    »File«      TgS (WIN) Kernel - Internal with Windows.h
    »Author«    Andrew Aye (EMail: mailto:andrew.aye@gmail.com, Web: http://www.andrewaye.com)
    »Version«   4.51 / »GUID« A9981407-3EC9-42AF-8B6F-8BE6DD919615                                                                                                        */
/*   -------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
/*  Copyright: © 2002-2017, Andrew Aye.  All Rights Reserved.
    This software is free for non-commercial use.  Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
      following conditions are met:
        Redistribution of source code must retain this copyright notice, this list of conditions and the following disclaimers.
        Redistribution in binary form must reproduce this copyright notice, this list of conditions and the following disclaimers in the documentation and other materials
          provided with the distribution.
    The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission.
    The intellectual property rights of the algorithms used reside with Andrew Aye.
    You may not use this software, in whole or in part, in support of any commercial product without the express written consent of the author.
    There is no warranty or other guarantee of fitness of this software for any purpose. It is provided solely "as is".                                                   */
/* =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= */
#if !defined(TGS_PLATFORM_KERNEL_INTERNAL_WITH_WINDOWS_H)
#define TGS_PLATFORM_KERNEL_INTERNAL_WITH_WINDOWS_H

#if !defined(TgCOMPILE_PLATFORM_WIN)
#error This file should only be included for windows based platforms
#endif

#if defined(__clang__)
#pragma clang system_header
#endif

#if defined(_M_X64)
#define _AMD64_
#define __X64__
#elif defined(_M_IX86)
#define _X86_
#define __X86__
#else
#error Unknown platform
#endif

#define WINAPI_FAMILY WINAPI_FAMILY_DESKTOP_APP
#define _CRT_RAND_S

#pragma warning( push, 3 )
#include <sdkddkver.h> /* MSFT can not make an include chain apparently that doesn't include every thing ever written - work around crappy coding practices */
#include <synchapi.h>
#include <processthreadsapi.h>
#include <handleapi.h>
#include <errhandlingapi.h>
#include <debugapi.h>
#include <combaseapi.h>
#include <sysinfoapi.h>
#include <processenv.h>
#include <profileapi.h>
#include <fileapi.h>
#include <libloaderapi.h>
#include <heapapi.h>
#include <memoryapi.h>
#include <realtimeapiset.h>
#include <crtdbg.h>
#pragma warning( pop )

#undef CDECL
#define TgCOMPILE_PLATFORM_INCLUDE_MSFT_WINDOWS_HEADERS

#include "TgS COMMON/TgS (WIN) Common.h"
#include "TgS KERNEL/TgS (WIN) Kernel.h"
#include "TgS (WIN) Kernel - Internal.h"


/* ====================================================================================================================================================================== */
#endif