[IDL] Add idl file for the secondary logon service
authorEric Kohl <eric.kohl@reactos.org>
Sun, 16 Jan 2022 13:27:13 +0000 (14:27 +0100)
committerEric Kohl <eric.kohl@reactos.org>
Sun, 16 Jan 2022 13:27:13 +0000 (14:27 +0100)
sdk/include/reactos/idl/seclogon.acf [new file with mode: 0644]
sdk/include/reactos/idl/seclogon.idl [new file with mode: 0644]

diff --git a/sdk/include/reactos/idl/seclogon.acf b/sdk/include/reactos/idl/seclogon.acf
new file mode 100644 (file)
index 0000000..decd052
--- /dev/null
@@ -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 (file)
index 0000000..dd3392a
--- /dev/null
@@ -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);
+*/
+}