IObjectControl::CanBePooled Method Example

#include <mtx.h>

BOOL MyObject::CanBePooled()
{
    // This object should not be recycled,
    // so return false.
    return FALSE;
}