1 /**
2  * This file is part of the mingw-w64 runtime package.
3  * No warranty is given; refer to the file DISCLAIMER within this package.
4  */
5 #ifndef _APISETUTIL_
6 #define _APISETUTIL_
7 
8 #include <apiset.h>
9 #include <apisetcconv.h>
10 #include <minwindef.h>
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_APP)
17   WINBASEAPI PVOID WINAPI EncodePointer (PVOID Ptr);
18   WINBASEAPI PVOID WINAPI DecodePointer (PVOID Ptr);
19 #endif
20 
21 #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
22   WINBASEAPI PVOID WINAPI EncodeSystemPointer (PVOID Ptr);
23   WINBASEAPI PVOID WINAPI DecodeSystemPointer (PVOID Ptr);
24   WINBASEAPI WINBOOL WINAPI Beep (DWORD dwFreq, DWORD dwDuration);
25 #endif
26 
27 #ifdef __cplusplus
28 }
29 #endif
30 #endif
31