Leaked source code of windows server 2003
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.

103 lines
2.7 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for sasecrpc.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, oldnames, robust
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  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. #pragma once
  40. typedef /* [handle] */ LPCWSTR SASEC_HANDLE;
  41. HRESULT SASetAccountInformation(
  42. /* [unique][string][in] */ SASEC_HANDLE Handle,
  43. /* [string][in] */ LPCWSTR pwszJobName,
  44. /* [string][in] */ LPCWSTR pwszAccount,
  45. /* [unique][string][in] */ LPCWSTR pwszPassword,
  46. /* [in] */ DWORD dwJobFlags);
  47. HRESULT SASetNSAccountInformation(
  48. /* [unique][string][in] */ SASEC_HANDLE Handle,
  49. /* [unique][string][in] */ LPCWSTR pwszAccount,
  50. /* [unique][string][in] */ LPCWSTR pwszPassword);
  51. HRESULT SAGetNSAccountInformation(
  52. /* [unique][string][in] */ SASEC_HANDLE Handle,
  53. /* [range][in] */ DWORD ccBufferSize,
  54. /* [size_is][out][in] */ WCHAR wszBuffer[ ]);
  55. HRESULT SAGetAccountInformation(
  56. /* [unique][string][in] */ SASEC_HANDLE Handle,
  57. /* [string][in] */ LPCWSTR pwszJobName,
  58. /* [range][in] */ DWORD ccBufferSize,
  59. /* [size_is][out][in] */ WCHAR wszBuffer[ ]);
  60. extern RPC_IF_HANDLE sasec_ClientIfHandle;
  61. extern RPC_IF_HANDLE sasec_ServerIfHandle;
  62. #endif /* __sasec_INTERFACE_DEFINED__ */
  63. /* Additional Prototypes for ALL interfaces */
  64. handle_t __RPC_USER SASEC_HANDLE_bind ( SASEC_HANDLE );
  65. void __RPC_USER SASEC_HANDLE_unbind( SASEC_HANDLE, handle_t );
  66. /* end of Additional Prototypes */
  67. #ifdef __cplusplus
  68. }
  69. #endif
  70. #endif