// // Copyright (c) Microsoft Corporation. All rights reserved. // /*++ Module Name: dmprocessxmlfiltered.h Purpose: Header for the DMProcessConfigXMLFiltered API --*/ #pragma once #pragma region Application Family #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) #include /// /// This API wraps DMProcessConfigXML, blocking attempts to access it using WAP XML that /// consumes CSPs not allowed in the passed in filter list. /// /// [in] Null terminated input WAP XML /// [in] Array of WCHAR* that specify which CSP nodes will be allowed to be invoked /// [in] Number of elements passed in rgszAllowedCspNode /// [out] Resulting null terminated XML from comfiguration. /// Use SysFreeString to free the memory /// /// /// Returns HRESULT type /// STDAPI DMProcessConfigXMLFiltered( _In_ PCWSTR pszXmlIn, _In_reads_(dwNumAllowedCspNodes) PCWSTR* rgszAllowedCspNodes, _In_ DWORD dwNumAllowedCspNodes, _Outptr_result_z_ BSTR* pbstrXmlOut); #endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) */ #pragma endregion