IPresentationManager::EnablePresentStatisticsKind method (presentation.h)
Enables or disables the specified present statistics kind.
HRESULT EnablePresentStatisticsKind( PresentStatisticsKind presentStatisticsKind, boolean enabled );
The present statistics kind to enable or disable.
TRUE to enable the present statistics kind; otherwise,
If the function succeeds, it returns
S_OK; otherwise, it returns an
HRESULT value that indicates the error.
The requested change takes place as soon as possible, however effects can be delayed. We suggest that you register all desired present statistics before you issue presents, and not change during use. This is also how statistics can be extended and changed in the future without breaking backwards compatibility.
|Minimum supported client||Windows Build 22000|
|Minimum supported server||Windows Build 22000|