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.

137 lines
3.2 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 seclogon.idl:
  5. Oicf, W1, Zp8, env=Win32 (32b run)
  6. protocol : dce , ms_ext, c_ext, 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 __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. unsigned long ccLength;
  40. unsigned long 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. 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. } SECL_SLI;
  70. typedef struct _SECL_SLI *PSECL_SLI;
  71. typedef struct _SECL_SLRI
  72. {
  73. unsigned __int64 hProcess;
  74. unsigned __int64 hThread;
  75. unsigned long ulProcessId;
  76. unsigned long ulThreadId;
  77. unsigned long ulErrorCode;
  78. } SECL_SLRI;
  79. typedef struct _SECL_SLRI *PSECL_SLRI;
  80. void SeclCreateProcessWithLogonW(
  81. /* [in] */ handle_t hRPCBinding,
  82. /* [ref][in] */ SECL_SLI *psli,
  83. /* [ref][out] */ SECL_SLRI *pslri);
  84. extern RPC_IF_HANDLE ISeclogon_v1_0_c_ifspec;
  85. extern RPC_IF_HANDLE ISeclogon_v1_0_s_ifspec;
  86. #endif /* __ISeclogon_INTERFACE_DEFINED__ */
  87. /* interface __MIDL_itf_seclogon_0001 */
  88. /* [local] */
  89. #define wszSeclogonSharedProcEndpointName L"SECLOGON"
  90. #define wszSvcName L"seclogon"
  91. #define SECLOGON_CALLER_SPECIFIED_DESKTOP 0x00000001
  92. extern RPC_IF_HANDLE __MIDL_itf_seclogon_0001_v0_0_c_ifspec;
  93. extern RPC_IF_HANDLE __MIDL_itf_seclogon_0001_v0_0_s_ifspec;
  94. /* Additional Prototypes for ALL interfaces */
  95. /* end of Additional Prototypes */
  96. #ifdef __cplusplus
  97. }
  98. #endif
  99. #endif