Class representing the DestructorPolicy for AutoPtr instances wrapping ICustToolbar pointers.
Sample Code:
MaxSDK::AutoPtr<ICustToolbar, ICustToolbarDestructorPolicy> custToolbar(GetICustToolbar(hwnd)); custToolbar->ResetIconImages(); // when custToolbar goes out of scope, its Delete method is called, which calls ReleaseICustToolbar
#include <custcont.h>
Static Public Member Functions |
|
static void | Delete (ICustToolbar *custToolbar) |
static void Delete | ( | ICustToolbar * | custToolbar | ) | [inline, static] |
{ ReleaseICustToolbar(custToolbar); }