Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
1000 B

  1. /*++
  2. Copyright (c) 1990,91 Microsoft Corporation
  3. Module Name:
  4. rpcutil.h
  5. Abstract:
  6. This file contains prototypes for the bind and unbind functions that
  7. all net api stub functions will call. It also includes the allocate
  8. and free routines used by the MIDL generated RPC stubs.
  9. Author:
  10. Dan Lafferty danl 06-Feb-1991
  11. Scott Birrell (ScottBi) April 30, 1991 - LSA Version
  12. [Environment:]
  13. User Mode - Win32
  14. Revision History:
  15. --*/
  16. #ifndef _RPCUTIL_
  17. #define _RPCUTIL_
  18. #ifndef RPC_NO_WINDOWS_H // Don't let rpc.h include windows.h
  19. #define RPC_NO_WINDOWS_H
  20. #endif // RPC_NO_WINDOWS_H
  21. #include <rpc.h>
  22. //
  23. // Function Prototypes
  24. //
  25. void *
  26. MIDL_user_allocate(
  27. IN ULONG NumBytes
  28. );
  29. void
  30. MIDL_user_free(
  31. IN PVOID MemPointer
  32. );
  33. RPC_STATUS
  34. LsapBindRpc(
  35. IN PLSAPR_SERVER_NAME ServerName,
  36. OUT RPC_BINDING_HANDLE * pBindingHandle
  37. );
  38. RPC_STATUS
  39. LsapUnbindRpc(
  40. RPC_BINDING_HANDLE BindingHandle
  41. );
  42. #endif // _RPCUTIL_
  43.