localspl: Add minimal localspl.dll.

This commit is contained in:
Detlef Riekenberg 2006-09-11 00:28:36 +02:00 committed by Alexandre Julliard
parent 722a686d66
commit 2198d83622
6 changed files with 152 additions and 1 deletions

3
configure vendored

File diff suppressed because one or more lines are too long

View File

@ -1577,6 +1577,7 @@ dlls/iphlpapi/tests/Makefile
dlls/itss/Makefile
dlls/kernel/Makefile
dlls/kernel/tests/Makefile
dlls/localspl/Makefile
dlls/lz32/Makefile
dlls/lz32/tests/Makefile
dlls/mapi32/Makefile

View File

@ -81,6 +81,7 @@ BASEDIRS = \
iphlpapi \
itss \
kernel \
localspl \
lz32 \
mapi32 \
mciavi32 \

13
dlls/localspl/Makefile.in Normal file
View File

@ -0,0 +1,13 @@
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = localspl.dll
IMPORTS = kernel32
C_SRCS = \
localspl_main.c
@MAKE_DLL_RULES@
### Dependencies:

View File

@ -0,0 +1,64 @@
@ stub ClosePrintProcessor
@ stub ControlPrintProcessor
@ stub EnumPrintProcessorDatatypesW
@ stub GetPrintProcessorCapabilities
@ stdcall InitializePrintMonitor(wstr)
# "Providor" is no typo here
@ stub InitializePrintProvidor
@ stub OpenPrintProcessor
@ stub PrintDocumentOnPrintProcessor
@ stub PrintProcLogEvent
@ stub SplAddForm
@ stub SplAddMonitor
@ stub SplAddPort
@ stub SplAddPortEx
@ stub SplAddPrinter
@ stub SplAddPrinterDriverEx
@ stub SplAddPrintProcessor
@ stub SplBroadcastChange
@ stub SplClosePrinter
@ stub SplCloseSpooler
@ stub SplConfigChange
@ stub SplCopyFileEvent
@ stub SplCopyNumberOfFiles
@ stub SplCreateSpooler
@ stub SplDeleteForm
@ stub SplDeleteMonitor
@ stub SplDeletePort
@ stub SplDeletePrinter
@ stub SplDeletePrinterDriverEx
@ stub SplDeletePrinterKey
@ stub SplDeletePrintProcessor
@ stub SplDeleteSpooler
@ stub SplDriverEvent
@ stub SplEnumForms
@ stub SplEnumMonitors
@ stub SplEnumPorts
@ stub SplEnumPrinterDataEx
@ stub SplEnumPrinterKey
@ stub SplEnumPrinters
@ stub SplEnumPrintProcessorDatatypes
@ stub SplEnumPrintProcessors
@ stub SplGetDriverDir
@ stub SplGetForm
@ stub SplGetPrinter
@ stub SplGetPrinterData
@ stub SplGetPrinterDataEx
@ stub SplGetPrinterDriver
@ stub SplGetPrinterDriverDirectory
@ stub SplGetPrinterDriverEx
@ stub SplGetPrinterExtra
@ stub SplGetPrinterExtraEx
@ stub SplGetPrintProcessorDirectory
@ stub SplLoadLibraryTheCopyFileModule
@ stub SplMonitorIsInstalled
@ stub SplOpenPrinter
@ stub SplReenumeratePorts
@ stub SplResetPrinter
@ stub SplSetForm
@ stub SplSetPrinter
@ stub SplSetPrinterData
@ stub SplSetPrinterDataEx
@ stub SplSetPrinterExtra
@ stub SplSetPrinterExtraEx
@ stub SplXcvData

View File

@ -0,0 +1,71 @@
/*
* Implementation of the Local Printmonitor
*
* Copyright 2006 Detlef Riekenberg
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <stdarg.h>
#define COBJMACROS
#define NONAMELESSUNION
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "winreg.h"
#include "winver.h"
#include "winnls.h"
#include "winspool.h"
#include "ddk/winsplp.h"
#include "wine/unicode.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(localspl);
/*****************************************************
* DllMain
*/
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
TRACE("(%p, %ld, %p)\n",hinstDLL, fdwReason, lpvReserved);
switch(fdwReason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls( hinstDLL );
break;
}
return TRUE;
}
/*****************************************************
* InitializePrintMonitor (LOCALSPL.@)
*/
LPMONITOREX WINAPI InitializePrintMonitor(LPWSTR regroot)
{
FIXME("(%s) stub\n", debugstr_w(regroot));
return NULL;
}