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