protected unsafe void EnableActionGetCurrentConnectionInfo() { iCallbackGetCurrentConnectionInfo = new CallbackGetCurrentConnectionInfo(DoGetCurrentConnectionInfo); IntPtr ptr = GCHandle.ToIntPtr(iGch); DvServiceUpnpOrgConnectionManager2EnableActionGetCurrentConnectionInfo(iHandle, iCallbackGetCurrentConnectionInfo, ptr); }
static extern void DvServiceUpnpOrgConnectionManager2EnableActionGetCurrentConnectionInfo(uint aHandle, CallbackGetCurrentConnectionInfo aCallback, IntPtr aPtr);