utilapiset.h (796B) - Raw
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 #endif 25 #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_APP) 26 WINBASEAPI WINBOOL WINAPI Beep (DWORD dwFreq, DWORD dwDuration); 27 #endif 28 29 #ifdef __cplusplus 30 } 31 #endif 32 #endif