9RPC159.1RPC/1.RPC2./3.RPC4.5.9.2RPC9-19-19.2.1RpcServerRegisterIfRPC_STATUSstatus;status=RpcServerRegisterIf(MyInterface_v1_0_s_ifspec,NULL,NULL);RpcServerRegisterIfMIDLIDLUUIDNULL58RPCWNetRpcServerRegisterIfEX9.2.2RpcServerUseAllProtSeqsRPC_STATUSstatus;status=RpcServerUseAllProtseqs(RPC_C_PROTSEQ_MAX_REQS_DEFAULT,//Defaultmaxnumberofcalls.NULL);//Noauthentication.RpcServerUseAllProtSeqsRPC_C_RPOTSEQ_MAX_REQS_REFAULFRPCRPC18RpcServerUseProtseq,RpcServerUseProtseqEx,RpcServerUseProtseqEp,orRpcServerUseProtseqEpEx.15RpcServerInqBindings:RPC_STATUSstatus;RPC_BINDING_VECTOR*rpcBindingVector;status=RpcServerInqBindings(&rpcBindingVector);RpcserverinqbindingsRPCBINDINGVECTORRPCrpcBindingVectorrpcBindingVectorfreeRpcserverinqbindings9.2.3RPCNSBINDINGEXPORT//ThisexampleassumesthatMyInterface_v1_0_s_ifspecisavaliddata//structurethatrepresentstheinterfacebeingregistered.The//variableisavalidpointertoabindingvector.RPC_STATUSstatus;status=RpcNsBindingExport(959RPC_C_NS_SYNTAX_DEFAULT,/.:/servers/our_dept/iface_aserver,MyInterface_v1_0_s_ifspec,rpcBindingVector,NULL);RPCNSBINDINGEXPORTEntryNameRPCRPC-C-NS-SYNTAX-DEFAULTRPCIfSpecMIDLMIDLMIDLRpcserverinqbindingsUUIDRPCNSBINDINGEXPORTNULL9.2.4TCP/IPRpcEpRegister//ThisexampleassumesthatMyInterface_v1_0_s_ifspecisavaliddata//structurethatrepresentstheinterfacebeingregistered.The//variableisavalidpointertoabindingvector.RPC_STATUSstatus;status=RpcEpRegister(MyInterface_v1_0_s_ifspec,rpcBindingVector,NULL,NULL);RpcEpRegisterMIDLMIDLRpcEpRegisterUUIDUUIDRpcEpRegisterNULLRPC9.2.560RPCWNetRpcServerListenRPC_STATUSstatus;status=RpcServerListen(1,RPC_C_LISTEN_MAX_CALLS_DEFAULT,0);RpcServerListenRpcServerListenRpcServerListenRPC_C_LISTEN_MAX_CALLS_DEFAULTDCERpcServerListenDCE0RpcServerListenRpcMgmtStopServerListeningRpcMgmtWaitListen9.3/RPC9-29.3.1RPC159.3.26.49.2.19619-262RPCWNet159.3.3RPC9.3.4RPCRPCRPC15963