From 4161a8b474f7797ac46068e3680c4e83c6898c71 Mon Sep 17 00:00:00 2001 From: Juan Lang Date: Mon, 22 Mar 2004 21:31:26 +0000 Subject: [PATCH] Stub CommandLineFromMsiDescriptor to prevent a crash in Accelerys Materials Studio. --- dlls/advapi32/advapi.c | 7 +++++++ dlls/advapi32/advapi32.spec | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/dlls/advapi32/advapi.c b/dlls/advapi32/advapi.c index 7a84b52ce32..c1ab8f344f3 100644 --- a/dlls/advapi32/advapi.c +++ b/dlls/advapi32/advapi.c @@ -171,3 +171,10 @@ BOOL WINAPI InitiateSystemShutdownExW( LPWSTR lpMachineName, LPWSTR lpMessage, bRebootAfterShutdown, dwReason); return TRUE; } + +DWORD WINAPI CommandLineFromMsiDescriptor(WCHAR *Descriptor, WCHAR *CommandLine, + DWORD *CommandLineLength) +{ + FIXME("stub (%s)\n", debugstr_w(Descriptor)); + return ERROR_CALL_NOT_IMPLEMENTED; +} diff --git a/dlls/advapi32/advapi32.spec b/dlls/advapi32/advapi32.spec index 0e1d2dfa669..141e4876ff4 100644 --- a/dlls/advapi32/advapi32.spec +++ b/dlls/advapi32/advapi32.spec @@ -26,7 +26,7 @@ @ stdcall ClearEventLogW (long wstr) @ stdcall CloseEventLog (long) @ stdcall CloseServiceHandle(long) -@ stub CommandLineFromMsiDescriptor +@ stdcall CommandLineFromMsiDescriptor(wstr wstr ptr) @ stdcall ControlService(long long ptr) @ stub ConvertSidToStringSidA #(ptr str) ConvertSidToStringSidA @ stub ConvertSidToStringSidW #(ptr wstr) ConvertSidToStringSidW