mingw-w64/mingw-w64-headers/include/libloaderapi2.h
Liu Hao 6b82d31b2a include/libloaderapi{,2}.h: Don't mistake BOOL for WINBOOL.
Objective-C has its own `BOOL` type which differs from the Windows
`BOOL` which is a typedef for `int`.

Signed-off-by: Liu Hao <lh_mouse@126.com>
2019-09-29 17:54:19 +08:00

31 lines
681 B
C

/**
* This file is part of the mingw-w64 runtime package.
* No warranty is given; refer to the file DISCLAIMER within this package.
*/
#ifndef _APISETLIBLOADER2_
#define _APISETLIBLOADER2_
#include <apiset.h>
#include <apisetcconv.h>
#include <minwindef.h>
#include <minwinbase.h>
#ifdef __cplusplus
extern "C" {
#endif
#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_APP)
#if (_WIN32_WINNT >= 0x0602)
WINBASEAPI HMODULE WINAPI LoadPackagedLibrary(LPCWSTR lpwLibFileName, DWORD Reserved);
WINBASEAPI WINBOOL WINAPI QueryOptionalDelayLoadedAPI(HMODULE hParentModule, LPCSTR lpDllName, LPCSTR lpProcName, DWORD Reserved);
#endif
#endif
#ifdef __cplusplus
}
#endif
#endif