CLSID_DOMDocument2 and __USE_MSXML2_NAMESPACE__ gets undefined in msxml2.h in the windows kit when compiled with WINAPI_PARTITION_APP RRS feed

  • Question

  • I am trying to port a few shared libraries from classic windows to the windows store app. We are using msxml3.dll and msxml2.h there, but on compiling with WINAPI_PARTITION_APP preprocessor flag(windows store app) the #defines of CLSID_DOMDocument2 and __USE_MSXML2_NAMESPACE__ are put under WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) so they get undefined.

    Any idea/confirmation if the msxml2 namespace is not supported with windows store app ?? 


    • Edited by AAryaman Thursday, July 18, 2013 3:27 AM few typo
    Thursday, July 18, 2013 3:27 AM


  • That it is defined out of the headers indicates that it is not allowed.

    You can find the list of allowed Win32 and COM API at Win32 and COM API .


    Thursday, July 18, 2013 4:49 AM