protected unsafe void EnableActionImportResource() { iCallbackImportResource = new CallbackImportResource(DoImportResource); IntPtr ptr = GCHandle.ToIntPtr(iGch); DvServiceUpnpOrgContentDirectory3EnableActionImportResource(iHandle, iCallbackImportResource, ptr); }
static extern void DvServiceUpnpOrgContentDirectory3EnableActionImportResource(uint aHandle, CallbackImportResource aCallback, IntPtr aPtr);