Section 11 Samples
Rev. 1.01 Mar. 17, 2008 Page 126 of 128
REJ10J1822-0101
__server_info.ulRPCServerVersion = RPCSVR_VERS_SMPL;
__server_info.ServerStubTaskPriority = __config-
>ServerStubTaskPriority;
__server_info.ServerStubList = __rpcsvr_SMPL_StubTable;
__server_info.ulNumFunctions = 4UL;
__server_info.ulStubStackSize = __config-
>ulStubStackSize;
__server_info.pUserDefinedData = __config-
>pUserDefinedData;
__server_info.ulMaxParamAreaSize = __config-
>ulMaxParamAreaSize;
return rpc_start_server( &__server_info );
}
INT32 rpcsvr_SMPL_shutdown ( UINT32 __ulServerID, UINT32
__ulServerVersion )
{
return rpc_stop_server( RPCSVR_ID_SMPL, RPCSVR_VERS_SMPL, NULL, 0UL
);
}