From c28db81193d5f80429d14dd8b63f3cc034136fce Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Sun, 16 Jan 2022 14:27:13 +0100 Subject: [PATCH] [IDL] Add idl file for the secondary logon service --- sdk/include/reactos/idl/seclogon.acf | 6 ++++ sdk/include/reactos/idl/seclogon.idl | 47 ++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 sdk/include/reactos/idl/seclogon.acf create mode 100644 sdk/include/reactos/idl/seclogon.idl diff --git a/sdk/include/reactos/idl/seclogon.acf b/sdk/include/reactos/idl/seclogon.acf new file mode 100644 index 00000000000..decd052ec0e --- /dev/null +++ b/sdk/include/reactos/idl/seclogon.acf @@ -0,0 +1,6 @@ +[ + explicit_handle +] +interface ISeclogon +{ +} diff --git a/sdk/include/reactos/idl/seclogon.idl b/sdk/include/reactos/idl/seclogon.idl new file mode 100644 index 00000000000..dd3392ae349 --- /dev/null +++ b/sdk/include/reactos/idl/seclogon.idl @@ -0,0 +1,47 @@ +/* + * Secondary Logon service interface definition + */ + +#include + +typedef struct _SECL_REQUEST +{ + [string] WCHAR *Username; + [string] WCHAR *Domain; + [string] WCHAR *Password; + [string] WCHAR *ApplicationName; + [string] WCHAR *CommandLine; + [string] WCHAR *CurrentDirectory; +} SECL_REQUEST, *PSECL_REQUEST; + +typedef struct _SECL_RESPONSE +{ + ULONG ulError; +} SECL_RESPONSE, *PSECL_RESPONSE; + +[ + uuid(12b81e99-f207-4a4c-85d3-77b42f76fd14), + version(1.0), + pointer_default(unique), + endpoint("ncacn_np:[\\pipe\\seclogon]") +] +interface ISeclogon +{ + /* Function 0 */ + void + __stdcall + SeclCreateProcessWithLogonW( + [in] handle_t hBinding, + [in, ref] SECL_REQUEST *pRequest, + [out, ref] SECL_RESPONSE *pResponse); + + /* Function 1 */ +/* + void + __stdcall + SeclCreateProcessWithLogonExW( + [in] handle_t hBinding, + [in, ref] SECL_REQUEST *pRequest, + [out, ref] SECL_RESPONSE *pResponse); +*/ +}