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.

114 lines
2.8 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 atsvc.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 __atsvc_h__
  23. #define __atsvc_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 "AtSvcInc.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 __atsvc_INTERFACE_DEFINED__
  36. #define __atsvc_INTERFACE_DEFINED__
  37. /* interface atsvc */
  38. /* [implicit_handle][unique][ms_union][version][uuid] */
  39. #pragma once
  40. typedef /* [handle] */ LPWSTR ATSVC_HANDLE;
  41. typedef struct _AT_ENUM_CONTAINER
  42. {
  43. DWORD EntriesRead;
  44. /* [size_is] */ LPAT_ENUM Buffer;
  45. } AT_ENUM_CONTAINER;
  46. typedef struct _AT_ENUM_CONTAINER *PAT_ENUM_CONTAINER;
  47. typedef struct _AT_ENUM_CONTAINER *LPAT_ENUM_CONTAINER;
  48. DWORD NetrJobAdd(
  49. /* [unique][string][in] */ ATSVC_HANDLE ServerName,
  50. /* [in] */ LPAT_INFO pAtInfo,
  51. /* [out] */ LPDWORD pJobId);
  52. DWORD NetrJobDel(
  53. /* [unique][string][in] */ ATSVC_HANDLE ServerName,
  54. /* [in] */ DWORD MinJobId,
  55. /* [in] */ DWORD MaxJobId);
  56. DWORD NetrJobEnum(
  57. /* [unique][string][in] */ ATSVC_HANDLE ServerName,
  58. /* [out][in] */ LPAT_ENUM_CONTAINER pEnumContainer,
  59. /* [in] */ DWORD PreferedMaximumLength,
  60. /* [out] */ LPDWORD pTotalEntries,
  61. /* [unique][out][in] */ LPDWORD pResumeHandle);
  62. DWORD NetrJobGetInfo(
  63. /* [unique][string][in] */ ATSVC_HANDLE ServerName,
  64. /* [in] */ DWORD JobId,
  65. /* [out] */ LPAT_INFO *ppAtInfo);
  66. extern handle_t atsvc_handle;
  67. extern RPC_IF_HANDLE atsvc_ClientIfHandle;
  68. extern RPC_IF_HANDLE atsvc_ServerIfHandle;
  69. #endif /* __atsvc_INTERFACE_DEFINED__ */
  70. /* Additional Prototypes for ALL interfaces */
  71. handle_t __RPC_USER ATSVC_HANDLE_bind ( ATSVC_HANDLE );
  72. void __RPC_USER ATSVC_HANDLE_unbind( ATSVC_HANDLE, handle_t );
  73. /* end of Additional Prototypes */
  74. #ifdef __cplusplus
  75. }
  76. #endif
  77. #endif