From 9ddc5b7c289181de7117417b4dbe9b09a6dd8535 Mon Sep 17 00:00:00 2001 From: Aric Stewart Date: Thu, 13 Jun 2002 23:57:26 +0000 Subject: [PATCH] Stub for StiCreateInstance. --- dlls/sti/sti.spec | 2 +- dlls/sti/sti_main.c | 29 ++++++++++++++++++++++++++++- 2 files changed, 29 insertions(+), 2 deletions(-) diff --git a/dlls/sti/sti.spec b/dlls/sti/sti.spec index 4848784c046..ce1e683a9b0 100644 --- a/dlls/sti/sti.spec +++ b/dlls/sti/sti.spec @@ -4,6 +4,6 @@ name sti @ stub DllGetClassObject @ stub DllRegisterServer @ stub DllUnregisterServer -@ stub StiCreateInstance +@ stdcall StiCreateInstance(ptr long ptr ptr) StiCreateInstance @ stub StiCreateInstanceA @ stub StiCreateInstanceW diff --git a/dlls/sti/sti_main.c b/dlls/sti/sti_main.c index 67a01ed518c..4eb965ccf32 100644 --- a/dlls/sti/sti_main.c +++ b/dlls/sti/sti_main.c @@ -1 +1,28 @@ -/* nothing here yet */ +/* + * Copyright (C) 2002 Aric Stewart for Codeweavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +#include "winreg.h" +#include "winerror.h" + +/****************************************************************************** + * StiCreateInstance (STI.@) + */ +HRESULT WINAPI StiCreateInstance( HINSTANCE a, DWORD b, LPVOID c, LPVOID d) +{ + return STG_E_UNIMPLEMENTEDFUNCTION; +}