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.

75 lines
1.1 KiB

  1. /*++
  2. Copyright (c) 1995 Microsoft Corporation
  3. Module Name:
  4. apiutil.h
  5. Abstract:
  6. Common internet server functions.
  7. Author:
  8. Murali R. Krishnan (MuraliK) 15-Sept-1995
  9. Environment:
  10. Win32 User Mode
  11. Project:
  12. Common Code for Internet Services
  13. Revision History:
  14. --*/
  15. #ifndef _APIUTIL_HXX_
  16. #define _APIUTIL_HXX_
  17. # ifdef __cplusplus
  18. extern "C" {
  19. # endif // __cplusplus
  20. #ifdef MIDL_PASS
  21. # define RPC_STATUS long
  22. #else
  23. # include <rpc.h>
  24. #endif // MIDL_PASS
  25. //
  26. // RPC utilities
  27. //
  28. # define PROT_SEQ_NP_OPTIONS_W L"Security=Impersonation Dynamic False"
  29. extern PVOID
  30. MIDL_user_allocate( IN size_t Size);
  31. extern VOID
  32. MIDL_user_free( IN PVOID pvBlob);
  33. extern RPC_STATUS
  34. RpcBindHandleForServer( OUT handle_t * pBindingHandle,
  35. IN LPWSTR pwszServerName,
  36. IN LPWSTR pwszInterfaceName,
  37. IN LPWSTR pwszOptions
  38. );
  39. extern RPC_STATUS
  40. RpcBindHandleFree( IN OUT handle_t * pBindingHandle);
  41. # ifdef __cplusplus
  42. };
  43. # endif // __cplusplus
  44. #endif // _APIUTIL_HXX_