DbgDumpObjectRegister function

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The DbgDumpObjectRegister function displays information about active objects. Ignored in retail builds.

Syntax

void DbgDumpObjectRegister(void);

Parameters

This function has no parameters.

Return value

This function does not return a value.

Remarks

In debug builds, the debug library maintains a list of active objects. The list includes any objects that derive from CBaseObject, were created by the current module, and have not been destroyed. The CBaseObject constructor and destructor methods update the list.

This function generates several LOG_MEMORY messages. At logging level 1, the function displays only the total number of objects. At logging level 2 or higher, it displays a list of the objects.

Requirements

Requirement Value
Header
Wxdebug.h (include Streams.h)
Library
Strmbase.lib (retail builds);
Strmbasd.lib (debug builds)

See also

Debug Output Functions