https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c28db81193d5f80429d14dd8b63f3cc034136fce

commit c28db81193d5f80429d14dd8b63f3cc034136fce
Author:     Eric Kohl <[email protected]>
AuthorDate: Sun Jan 16 14:27:13 2022 +0100
Commit:     Eric Kohl <[email protected]>
CommitDate: Sun Jan 16 14:27:13 2022 +0100

    [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(+)

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 <ms-dtyp.idl>
+
+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);
+*/
+}

Reply via email to