public static void OnInitProgress(System.IntPtr callback, System.UInt32 stage, System.UInt32 nowSize, System.UInt32 totalSize) { GCHandle handle = GCHandle.FromIntPtr(callback); mImpCB = (IIPSMobilePufferCallbackInterface)handle.Target; mImpCB.OnPufferInitProgress(stage, nowSize, totalSize); }