The RpcServerInqDefaultPrincName function obtains the default principal name from the server.
This function is supported only by Windows 95.
#include <rpc.h>
RPC_STATUS RPC_ENTRY RpcServerInqDefaultPrincName(
unsigned long AuthnSvc,
RPC_CHAR * * PrincName,
);
In a NetWare-only environment, server application calls the RpcServerInqDefaultPrincName routine to obtain the name of the NetWare server when authenticated RPC is required. The value obtained from this routine is then passed to RpcServerRegisterAuthInfo.
Value | Meaning |
---|---|
RPC_S_OK | Success |
RPC_S_OUT_OF_MEMORY | Insufficient memory to complete the operation |
RpcBindingSetAuthInfo, RpcServerRegisterAuthInfo