void (__cdecl * destroy)(PSI_CONTROL); #define OnDestroyCommon(name) \ __DefineRegistryMethodP(PSI_PRELOAD_PRIORITY,PSI_ROOT_REGISTRY,unused_name,WIDE("control"),name WIDE("/rtti"),WIDE("destroy"),void,(PSI_CONTROL), __LINE__)
Event when a control is being destroyed. Allows a control to destroy any internal resources it may have associated with the control.
Registers under
/psi/control/<name>/rtti/destroy=(PSI_CONTROL)@void@_@destroy
static void OnDestroyCommon(name)( PSI_CONTROL control ) { // do anything you might need when this control is destroyed. }
Copyright (c) 2000+. All rights reserved.
|
What do you think about this topic? Send feedback!
|