Class representing the DestructorPolicy for AutoPtr instances wrapping ICustImage pointers.
Sample Code:
MaxSDK::AutoPtr<ICustImage, ICustImageDestructorPolicy> custImage(GetICustImage(hwnd)); custImage->SetImage( hImage, index, w, h ); // when custImage goes out of scope, its Delete method is called, which calls ReleaseICustImage
#include <custcont.h>
Static Public Member Functions |
|
static void | Delete (ICustImage *custImage) |
static void Delete | ( | ICustImage * | custImage | ) | [inline, static] |
{ ReleaseICustImage(custImage); }