Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a Xaml Diagnostics session. This is the entry point for any debugging tool using the XAML Diagnostic APIs.
Syntax
HRESULT InitializeXamlDiagnosticsEx(
[in] LPCWSTR endPointName,
[in] DWORD pid,
[in] LPCWSTR wszDllXamlDiagnostics,
[in] LPCWSTR wszTAPDllName,
[in] CLSID tapClsid,
[in] LPCWSTR wszInitializationData
);
Parameters
[in] endPointName
The end point name for Visual Diagnostics.
[in] pid
The pid of the process to connect to.
[in] wszDllXamlDiagnostics
The path to XamlDiagnostics.dll.
[in] wszTAPDllName
The name of the DLL to be injected in the process.
[in] tapClsid
The COM CLSID of an object implementing IObjectWithSite, to be created from the DLL to be injected in the process. The site object will implement IXamlDiagnostics.
[in] wszInitializationData
Initialization data for Xaml Diagnostics.
Return value
None
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 10, version 1703 [desktop apps only] |
| Minimum supported server | Windows Server 2016 [desktop apps only] |
| Target Platform | Windows |
| Header | xamlom.h (include Windows.UI.Xaml.h) |
| DLL | Windows.UI.Xaml.dll |