SDL_WINAPI_FAMILY_PHONE(3)
π SDL_WINAPI_FAMILY_PHONE π
okay bestie, welcome to the SDL3 FUNCTIONS corner of the group chat, where today's main character is SDL_WINAPI_FAMILY_PHONE π
β¨ NAME β¨
SDL_WINAPI_FAMILY_PHONE β a preprocessor macro that's defined to 1 if you're compiling for Windows Phone. that's it. that's the whole vibe check. π¦
β¨ SYNOPSIS β¨
#include <SDL3/SDL_platform_defines.h>
#define SDL_WINAPI_FAMILY_PHONE (WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP)
so the way this works, it's literally just a macro that checks whether WINAPI_FAMILY equals WINAPI_FAMILY_PHONE_APP β and if it does, you get a nice lil 1. no cap. π
β¨ AVAILABILITY β¨
this macro has been serving since SDL 3.2.0. she's not ancient, she's not brand new β she's just iconic. π
ngl if you're out here targeting Windows Phone in the year of our lord, you are genuinely a legend and I respect the dedication fr fr π«Ά
and that's the whole page, bestie β short, sweet, and slaying πΈ this was SDL_WINAPI_FAMILY_PHONE(3) from the Simple Directmedia Layer era, version SDL 3.4.18. mwah, take care of her ππβ¨
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms