Macro recognizes WinRT?

Is there a new macro to determine in the code if the application runs on WinRT? Since I work with LoadLibrary, it would be great if the macro replaced all calls with LoadLibraryone on one LoadPackagedLibrary...

I understand the documentation correctly, since I can load any DLL (as long as it is inside my package) through LoadPackagedLibrary, right ?! (And while this DLL does not use the black listed APIs ...)

+5
source share
3 answers

I recently updated Visual Studio 2012 and I think I found the answer to my question:

Microsoft WINAPI_FAMILY_PARTITION "" WinAPI. WINAPI_PARTITION_DESKTOP WINAPI_PARTITION_APP, "", Desktop Metro...

: #define WINAPI_FAMILY_APP WINAPI_PARTITION_APP #define WINAPI_FAMILY_DESKTOP_APP (WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_APP). , WINAPI_FAMILY_APP , , Metro...

+4

, .

, Windows Store, Windows Runtime (WinRT) API Win32, API ( WINAPI_FAMILY WINAPI_PARTITION_APP). Win32 API family ( WINAPI_FAMILY WINAPI_PARTITION_DESKTOP), ,

+1

__WRL_WINRT_STRICT__. , , , , , , .

.

0

All Articles