protected unsafe void EnableActionExportResource() { iCallbackExportResource = new CallbackExportResource(DoExportResource); IntPtr ptr = GCHandle.ToIntPtr(iGch); DvServiceUpnpOrgContentDirectory3EnableActionExportResource(iHandle, iCallbackExportResource, ptr); }
static extern void DvServiceUpnpOrgContentDirectory3EnableActionExportResource(uint aHandle, CallbackExportResource aCallback, IntPtr aPtr);