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.

92 lines
1.8 KiB

  1. /*++
  2. Copyright (c) 1992 Microsoft Corporation
  3. Module Name:
  4. SASecRPC.idl
  5. Abstract:
  6. Scheduling Agent security RPC interface definition. This interface
  7. is used to securely set/get account information.
  8. SASetAccountInformation
  9. SAGetAccountInformation
  10. Author:
  11. Mark Blanford (markbl) 06 - June - 1996
  12. Environment:
  13. User Mode - Win32 - MIDL
  14. Revision History:
  15. 06-Jun-1996 markbl
  16. Created
  17. --*/
  18. //
  19. // Interface Attributes
  20. //
  21. [
  22. uuid(378E52B0-C0A9-11CF-822D-00AA0051E40F),
  23. version(1.0),
  24. #ifdef __midl
  25. ms_union,
  26. #endif // __midl
  27. pointer_default(unique)
  28. ]
  29. //
  30. // Interface Keyword
  31. //
  32. interface sasec
  33. //
  34. // Interface Body
  35. //
  36. {
  37. import "wtypes.idl";
  38. //
  39. // ---------------------------------------------------------------//
  40. //
  41. typedef [handle] LPCWSTR SASEC_HANDLE;
  42. HRESULT
  43. SASetAccountInformation(
  44. [ in, string, unique ] SASEC_HANDLE Handle,
  45. [ in, string ] LPCWSTR pwszJobName,
  46. [ in, string ] LPCWSTR pwszAccount,
  47. [ in, string, unique ] LPCWSTR pwszPassword,
  48. [ in ] DWORD dwJobFlags);
  49. HRESULT
  50. SASetNSAccountInformation(
  51. [ in, string, unique ] SASEC_HANDLE Handle,
  52. [ in, string, unique ] LPCWSTR pwszAccount,
  53. [ in, string, unique ] LPCWSTR pwszPassword);
  54. HRESULT
  55. SAGetNSAccountInformation(
  56. [ in, string, unique ] SASEC_HANDLE Handle,
  57. [ in ] DWORD ccBufferSize,
  58. [ in, out, , size_is(ccBufferSize) ]
  59. WCHAR wszBuffer[]);
  60. HRESULT
  61. SAGetAccountInformation(
  62. [ in, string, unique ] SASEC_HANDLE Handle,
  63. [ in, string ] LPCWSTR pwszJobName,
  64. [ in ] DWORD ccBufferSize,
  65. [ in, out, , size_is(ccBufferSize) ]
  66. WCHAR wszBuffer[]);
  67. }