protected unsafe void EnableActionEnableRecordTask() { iCallbackEnableRecordTask = new CallbackEnableRecordTask(DoEnableRecordTask); IntPtr ptr = GCHandle.ToIntPtr(iGch); DvServiceUpnpOrgScheduledRecording2EnableActionEnableRecordTask(iHandle, iCallbackEnableRecordTask, ptr); }
static extern void DvServiceUpnpOrgScheduledRecording2EnableActionEnableRecordTask(uint aHandle, CallbackEnableRecordTask aCallback, IntPtr aPtr);