Ejemplo n.º 1
0
        public unsafe void ContextCallback(global::WinRT.Interop.PFNCONTEXTCALL pfnCallback, ComCallData *pParam, Guid riid, int iMethod)
        {
            var result = _obj.Vftbl.ContextCallback_4(ThisPtr, pfnCallback, pParam, ref riid, iMethod, IntPtr.Zero);

            if (result != RPC_E_DISCONNECTED)
            {
                Marshal.ThrowExceptionForHR(result);
            }
        }
Ejemplo n.º 2
0
 public unsafe void ContextCallback(global::WinRT.Interop.PFNCONTEXTCALL pfnCallback, ComCallData *pParam, Guid riid, int iMethod)
 {
     Marshal.ThrowExceptionForHR(_obj.Vftbl.ContextCallback_4(ThisPtr, pfnCallback, pParam, ref riid, iMethod, IntPtr.Zero));
 }