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.

142 lines
3.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 seclogon.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, 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 __seclogon_h__
  23. #define __seclogon_h__
  24. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  25. #pragma once
  26. #endif
  27. /* Forward Declarations */
  28. #ifdef __cplusplus
  29. extern "C"{
  30. #endif
  31. void * __RPC_USER MIDL_user_allocate(size_t);
  32. void __RPC_USER MIDL_user_free( void * );
  33. #ifndef __ISeclogon_INTERFACE_DEFINED__
  34. #define __ISeclogon_INTERFACE_DEFINED__
  35. /* interface ISeclogon */
  36. /* [auto_handle][unique][version][uuid] */
  37. typedef struct _SECL_STRING
  38. {
  39. /* [range] */ unsigned short ccLength;
  40. /* [range] */ unsigned short ccSize;
  41. /* [length_is][size_is] */ wchar_t *pwsz;
  42. } SECL_STRING;
  43. typedef struct _SECL_STRING *PSECL_STRING;
  44. typedef struct _SECL_BLOB
  45. {
  46. /* [range] */ unsigned long cb;
  47. /* [size_is] */ unsigned char *pb;
  48. } SECL_BLOB;
  49. typedef struct _SECL_BLOB *PSECL_BLOB;
  50. typedef struct _SECL_SLI
  51. {
  52. SECL_STRING ssUsername;
  53. SECL_STRING ssDomain;
  54. SECL_STRING ssPassword;
  55. SECL_STRING ssApplicationName;
  56. SECL_STRING ssCommandLine;
  57. SECL_STRING ssCurrentDirectory;
  58. SECL_STRING ssTitle;
  59. SECL_STRING ssDesktop;
  60. SECL_BLOB sbEnvironment;
  61. unsigned long ulProcessId;
  62. unsigned long ulLogonIdLowPart;
  63. long lLogonIdHighPart;
  64. unsigned long ulLogonFlags;
  65. unsigned long ulCreationFlags;
  66. unsigned long ulSeclogonFlags;
  67. unsigned __int64 hWinsta;
  68. unsigned __int64 hDesk;
  69. unsigned __int64 hToken;
  70. } SECL_SLI;
  71. typedef struct _SECL_SLI *PSECL_SLI;
  72. typedef struct _SECL_SLRI
  73. {
  74. unsigned __int64 hProcess;
  75. unsigned __int64 hThread;
  76. unsigned long ulProcessId;
  77. unsigned long ulThreadId;
  78. unsigned long ulErrorCode;
  79. } SECL_SLRI;
  80. typedef struct _SECL_SLRI *PSECL_SLRI;
  81. void SeclCreateProcessWithLogonW(
  82. /* [in] */ handle_t hRPCBinding,
  83. /* [ref][in] */ SECL_SLI *psli,
  84. /* [ref][out] */ SECL_SLRI *pslri);
  85. extern RPC_IF_HANDLE ISeclogon_v1_0_c_ifspec;
  86. extern RPC_IF_HANDLE ISeclogon_v1_0_s_ifspec;
  87. #endif /* __ISeclogon_INTERFACE_DEFINED__ */
  88. /* interface __MIDL_itf_seclogon_0001 */
  89. /* [local] */
  90. #define wszSeclogonSharedProcEndpointName L"SECLOGON"
  91. #define wszSvcName L"seclogon"
  92. #define SECLOGON_CALLER_SPECIFIED_DESKTOP 0x00000001
  93. #pragma warning(disable:4211) // nonstandard extension used : redefined extern to static
  94. #pragma warning(disable:4232) // nonstandard extension used : 'x' : address of dllimport 'y' is not static, identity not guaranteed
  95. #pragma warning(disable:4310) // cast truncates constant value
  96. extern RPC_IF_HANDLE __MIDL_itf_seclogon_0001_v0_0_c_ifspec;
  97. extern RPC_IF_HANDLE __MIDL_itf_seclogon_0001_v0_0_s_ifspec;
  98. /* Additional Prototypes for ALL interfaces */
  99. /* end of Additional Prototypes */
  100. #ifdef __cplusplus
  101. }
  102. #endif
  103. #endif