utilapiset.h 796 B

1234567891011121314151617181920212223242526272829303132
  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. #include <apiset.h>
  8. #include <apisetcconv.h>
  9. #include <minwindef.h>
  10. #ifdef __cplusplus
  11. extern "C" {
  12. #endif
  13. #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_APP)
  14. WINBASEAPI PVOID WINAPI EncodePointer (PVOID Ptr);
  15. WINBASEAPI PVOID WINAPI DecodePointer (PVOID Ptr);
  16. #endif
  17. #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
  18. WINBASEAPI PVOID WINAPI EncodeSystemPointer (PVOID Ptr);
  19. WINBASEAPI PVOID WINAPI DecodeSystemPointer (PVOID Ptr);
  20. #endif
  21. #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_APP)
  22. WINBASEAPI WINBOOL WINAPI Beep (DWORD dwFreq, DWORD dwDuration);
  23. #endif
  24. #ifdef __cplusplus
  25. }
  26. #endif
  27. #endif