mirror of
https://github.com/UzixLS/KernelEx.git
synced 2025-07-19 07:21:20 +03:00
import KernelEx-4.0-Final
This commit is contained in:
69
common/k32ord.h
Normal file
69
common/k32ord.h
Normal file
@ -0,0 +1,69 @@
|
||||
/*
|
||||
* KernelEx
|
||||
* Copyright (C) 2009, Xeno86
|
||||
*
|
||||
* This file is part of KernelEx source code.
|
||||
*
|
||||
* KernelEx is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published
|
||||
* by the Free Software Foundation; version 2 of the License.
|
||||
*
|
||||
* KernelEx is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GNU Make; see the file COPYING. If not, write to
|
||||
* the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __K32ORD_H
|
||||
#define __K32ORD_H
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
#ifdef K32ORD_IMPLIB
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable:4716)
|
||||
#endif
|
||||
#define MAKE_HEADER(decl) \
|
||||
__declspec(dllexport) decl {}
|
||||
|
||||
#else
|
||||
|
||||
#define MAKE_HEADER(decl) \
|
||||
__declspec(dllimport) decl ;
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
MAKE_HEADER(void __stdcall _EnterSysLevel(CRITICAL_SECTION* cs))
|
||||
MAKE_HEADER(void __stdcall _LeaveSysLevel(CRITICAL_SECTION* cs))
|
||||
|
||||
MAKE_HEADER(ULONG __stdcall VxDCall1(ULONG p1))
|
||||
MAKE_HEADER(ULONG __stdcall VxDCall2(ULONG p1, ULONG p2))
|
||||
MAKE_HEADER(ULONG __stdcall VxDCall3(ULONG p1, ULONG p2, ULONG p3))
|
||||
MAKE_HEADER(ULONG __stdcall VxDCall4(ULONG p1, ULONG p2, ULONG p3, ULONG p4))
|
||||
MAKE_HEADER(ULONG __stdcall VxDCall5(ULONG p1, ULONG p2, ULONG p3, ULONG p4, ULONG p5))
|
||||
MAKE_HEADER(ULONG __stdcall VxDCall6(ULONG p1, ULONG p2, ULONG p3, ULONG p4, ULONG p5, ULONG p6))
|
||||
MAKE_HEADER(ULONG __stdcall VxDCall7(ULONG p1, ULONG p2, ULONG p3, ULONG p4, ULONG p5, ULONG p6, ULONG p7))
|
||||
MAKE_HEADER(ULONG __stdcall VxDCall8(ULONG p1, ULONG p2, ULONG p3, ULONG p4, ULONG p5, ULONG p6, ULONG p7, ULONG p8))
|
||||
|
||||
MAKE_HEADER(void __stdcall MakeCriticalSectionGlobal(CRITICAL_SECTION* cs))
|
||||
|
||||
MAKE_HEADER(ULONG __stdcall CommonUnimpStub())
|
||||
|
||||
MAKE_HEADER(DWORD __stdcall MapSL(DWORD addr16))
|
||||
MAKE_HEADER(DWORD __stdcall LoadLibrary16(LPSTR libname))
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user