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.

101 lines
2.6 KiB

  1. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3. /* File created by MIDL compiler version 6.00.0347 */
  4. /* Compiler settings for sasecrpc.idl:
  5. Oicf, W1, Zp8, env=Win32 (32b run)
  6. protocol : dce , ms_ext, c_ext, oldnames, robust
  7. error checks: allocation ref bounds_check enum stub_data
  8. VC __declspec() decoration level:
  9. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  10. DECLSPEC_UUID(), MIDL_INTERFACE()
  11. */
  12. //@@MIDL_FILE_HEADING( )
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef __sasecrpc_h__
  23. #define __sasecrpc_h__
  24. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  25. #pragma once
  26. #endif
  27. /* Forward Declarations */
  28. /* header files for imported files */
  29. #include "wtypes.h"
  30. #ifdef __cplusplus
  31. extern "C"{
  32. #endif
  33. void * __RPC_USER MIDL_user_allocate(size_t);
  34. void __RPC_USER MIDL_user_free( void * );
  35. #ifndef __sasec_INTERFACE_DEFINED__
  36. #define __sasec_INTERFACE_DEFINED__
  37. /* interface sasec */
  38. /* [auto_handle][unique][ms_union][version][uuid] */
  39. typedef /* [handle] */ LPCWSTR SASEC_HANDLE;
  40. HRESULT SASetAccountInformation(
  41. /* [unique][string][in] */ SASEC_HANDLE Handle,
  42. /* [string][in] */ LPCWSTR pwszJobName,
  43. /* [string][in] */ LPCWSTR pwszAccount,
  44. /* [unique][string][in] */ LPCWSTR pwszPassword,
  45. /* [in] */ DWORD dwJobFlags);
  46. HRESULT SASetNSAccountInformation(
  47. /* [unique][string][in] */ SASEC_HANDLE Handle,
  48. /* [unique][string][in] */ LPCWSTR pwszAccount,
  49. /* [unique][string][in] */ LPCWSTR pwszPassword);
  50. HRESULT SAGetNSAccountInformation(
  51. /* [unique][string][in] */ SASEC_HANDLE Handle,
  52. /* [in] */ DWORD ccBufferSize,
  53. /* [size_is][out][in] */ WCHAR wszBuffer[ ]);
  54. HRESULT SAGetAccountInformation(
  55. /* [unique][string][in] */ SASEC_HANDLE Handle,
  56. /* [string][in] */ LPCWSTR pwszJobName,
  57. /* [in] */ DWORD ccBufferSize,
  58. /* [size_is][out][in] */ WCHAR wszBuffer[ ]);
  59. extern RPC_IF_HANDLE sasec_ClientIfHandle;
  60. extern RPC_IF_HANDLE sasec_ServerIfHandle;
  61. #endif /* __sasec_INTERFACE_DEFINED__ */
  62. /* Additional Prototypes for ALL interfaces */
  63. handle_t __RPC_USER SASEC_HANDLE_bind ( SASEC_HANDLE );
  64. void __RPC_USER SASEC_HANDLE_unbind( SASEC_HANDLE, handle_t );
  65. /* end of Additional Prototypes */
  66. #ifdef __cplusplus
  67. }
  68. #endif
  69. #endif