/*1* Common handling of stub functions2*3* Copyright 2005 Alexandre Julliard4*5* This library is free software; you can redistribute it and/or6* modify it under the terms of the GNU Lesser General Public7* License as published by the Free Software Foundation; either8* version 2.1 of the License, or (at your option) any later version.9*10* This library is distributed in the hope that it will be useful,11* but WITHOUT ANY WARRANTY; without even the implied warranty of12* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU13* Lesser General Public License for more details.14*15* You should have received a copy of the GNU Lesser General Public16* License along with this library; if not, write to the Free Software17* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA18*/1920#include <stdarg.h>21#include "windef.h"22#include "winbase.h"23#include "wine/exception.h"2425void __cdecl __wine_spec_unimplemented_stub( const char *module, const char *function )26{27ULONG_PTR args[2];2829args[0] = (ULONG_PTR)module;30args[1] = (ULONG_PTR)function;31for (;;) RaiseException( EXCEPTION_WINE_STUB, EXCEPTION_NONCONTINUABLE, 2, args );32}333435