Andrew Kelley 49d1a4c562 move lib dirs to lib subdir
also start prefering NtDll API. so far:
 * NtQueryInformationFile
 * NtClose

adds a performance workaround for windows unicode conversion. but that
should probably be removed before merging
2019-07-15 17:54:50 -04:00

31 lines
738 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 _APISETUTIL_
#define _APISETUTIL_
#include <apiset.h>
#include <apisetcconv.h>
#include <minwindef.h>
#ifdef __cplusplus
extern "C" {
#endif
#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_APP)
WINBASEAPI PVOID WINAPI EncodePointer (PVOID Ptr);
WINBASEAPI PVOID WINAPI DecodePointer (PVOID Ptr);
#endif
#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
WINBASEAPI PVOID WINAPI EncodeSystemPointer (PVOID Ptr);
WINBASEAPI PVOID WINAPI DecodeSystemPointer (PVOID Ptr);
WINBASEAPI WINBOOL WINAPI Beep (DWORD dwFreq, DWORD dwDuration);
#endif
#ifdef __cplusplus
}
#endif
#endif