DirectX Diagnostic C/C++ Reference
The Microsoft?DirectX?Diagnostic Tool exposes a Component Object Model (COM) interface to allow developers to programmatically query the information gathered by the tool. For examples of how to use these methods, see the samples located at (SDK root)\Samples\C++\Misc\DXDiagReport\ and (SDK root)\Samples\C++\Misc\DXDiagOutput\.