MPLATFORMLib Namespace > MPreviewClass Class : ObjectCallbackSet Method |
Public Overridable Sub ObjectCallbackSet( _ ByVal _pCallback As IMCallback, _ ByVal _llCallbackUserData As Long _ )
public virtual void ObjectCallbackSet( IMCallback _pCallback, long _llCallbackUserData )
public procedure ObjectCallbackSet( _pCallback: IMCallback; _llCallbackUserData: Int64 ); virtual;
public: virtual void ObjectCallbackSet( IMCallback* _pCallback, long _llCallbackUserData )
var cookie: LONG_PTR; myPlaylist: MPlaylist; myObject: IMObject; myEvents TEvents; begin myEvents := TEvents.Create() myPlaylist:= CreateComObject(CLASS_MPlatlist) as MPlaylist; myObject:= myPlaylist as IMObject; myObject.ObjectCallbackSet(myEvents, cookie); end.