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