windows-nt/Source/XPSP1/NT/net/rras/dim/admindll/rpcbind.c
2020-09-26 16:20:57 +08:00

71 lines
1.5 KiB
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/********************************************************************/
/** Copyright(c) 1989 Microsoft Corporation. **/
/********************************************************************/
//***
//
// Filename: rpcbind.c
//
// Description: Contains the RPC bind and un-bind routines for the DIM
// Admin. client-side APIs.
//
// History:
// June 11,1995. NarenG Created original version.
//
#include <nt.h>
#include <ntrtl.h> // For ASSERT
#include <nturtl.h> // needed for winbase.h
#include <windows.h> // Win32 base API's
#include <rpc.h>
#include <ntseapi.h>
#include <ntlsa.h>
#include <ntsam.h>
#include <ntsamp.h>
#include <nturtl.h>
#include <stdlib.h>
#include <string.h>
#include <wchar.h>
#include "dimsvc_c.c"
//**
//
// Call: DIM_HANDLE_bind
//
// Returns: The binding handle is returned to the stub routine. If the
// binding is unsuccessful, a NULL will be returned.
//
// Description: This routine will simply return what was passed to it. The
// RPC runtime will pass it a handle of the binding that was
// obtained by calling DimRpcBind.
//
handle_t
DIM_HANDLE_bind(
IN DIM_HANDLE hDimServer
)
{
return( (handle_t)hDimServer );
}
//**
//
// Call: DIM_HANDLE_unbind
//
// Returns: none
//
// Description: Unbinds from the RPC interface.
//
void
DIM_HANDLE_unbind(
IN DIM_HANDLE hDimServer,
IN handle_t hBinding
)
{
UNREFERENCED_PARAMETER( hDimServer );
UNREFERENCED_PARAMETER( hBinding );
return;
}