Ejemplo n.º 1
0
        internal static Ptr<RPC_SERVER_INTERFACE> Create(RpcHandle handle, Guid iid, Byte[] formatTypes,
                                                         Byte[] formatProc, ushort[] formatProcOffsets,
                                                         Delegate[] funcs)
        {
            Ptr<MIDL_SERVER_INFO> pServer = handle.CreatePtr(new MIDL_SERVER_INFO());

            MIDL_SERVER_INFO temp = new MIDL_SERVER_INFO();
            return temp.Configure(handle, pServer, iid, formatTypes, formatProc, formatProcOffsets, funcs);
        }
Ejemplo n.º 2
0
        internal static Ptr <RPC_SERVER_INTERFACE> Create(RpcHandle handle, Guid iid, Byte[] formatTypes,
                                                          Byte[] formatProc, ushort[] formatProcOffsets,
                                                          Delegate[] funcs)
        {
            Ptr <MIDL_SERVER_INFO> pServer = handle.CreatePtr(new MIDL_SERVER_INFO());

            MIDL_SERVER_INFO temp = new MIDL_SERVER_INFO();

            return(temp.Configure(handle, pServer, iid, formatTypes, formatProc, formatProcOffsets, funcs));
        }