spoolss: Add minimal spoolss.dll.
This commit is contained in:
parent
4d3282a5fb
commit
717d18c908
|
@ -138,6 +138,7 @@ DLLs (under dlls/):
|
|||
shfolder/ - Shell folder service
|
||||
shlwapi/ - Shell Light-Weight interface
|
||||
snmpapi/ - SNMP protocol interface (networking)
|
||||
spoolss/ - Spooler Subsystem Library ("spooler" - Service)
|
||||
stdole2.tlb/ - OLE Automation typelib
|
||||
stdole32.tlb/ - Standard OLE typelib
|
||||
sti/ - Still Image service
|
||||
|
|
|
@ -1614,6 +1614,7 @@ dlls/shfolder/Makefile
|
|||
dlls/shlwapi/Makefile
|
||||
dlls/shlwapi/tests/Makefile
|
||||
dlls/snmpapi/Makefile
|
||||
dlls/spoolss/Makefile
|
||||
dlls/stdole2.tlb/Makefile
|
||||
dlls/stdole32.tlb/Makefile
|
||||
dlls/sti/Makefile
|
||||
|
|
|
@ -133,6 +133,7 @@ BASEDIRS = \
|
|||
shfolder \
|
||||
shlwapi \
|
||||
snmpapi \
|
||||
spoolss \
|
||||
stdole2.tlb \
|
||||
stdole32.tlb \
|
||||
sti \
|
||||
|
@ -1065,6 +1066,7 @@ shell32/shell32.dll.so: shell32
|
|||
shfolder/shfolder.dll.so: shfolder
|
||||
shlwapi/shlwapi.dll.so: shlwapi
|
||||
snmpapi/snmpapi.dll.so: snmpapi
|
||||
spoolss/spoolss.dll.so: spoolss
|
||||
stdole2.tlb/stdole2.tlb.so: stdole2.tlb
|
||||
stdole32.tlb/stdole32.tlb.so: stdole32.tlb
|
||||
sti/sti.dll.so: sti
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Makefile
|
|
@ -0,0 +1,13 @@
|
|||
TOPSRCDIR = @top_srcdir@
|
||||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = spoolss.dll
|
||||
IMPORTS = kernel32
|
||||
|
||||
C_SRCS = \
|
||||
spoolss_main.c
|
||||
|
||||
@MAKE_DLL_RULES@
|
||||
|
||||
### Dependencies:
|
|
@ -0,0 +1,151 @@
|
|||
@ stub AbortPrinter
|
||||
@ stub AddFormW
|
||||
@ stub AddJobW
|
||||
@ stub AddMonitorW
|
||||
@ stub AddPerMachineConnectionW
|
||||
@ stub AddPortExW
|
||||
@ stub AddPortW
|
||||
@ stub AddPrintProcessorW
|
||||
@ stub AddPrintProvidorW
|
||||
@ stub AddPrinterConnectionW
|
||||
@ stub AddPrinterDriverExW
|
||||
@ stub AddPrinterDriverW
|
||||
@ stub AddPrinterExW
|
||||
@ stub AddPrinterW
|
||||
@ stub AllocSplStr
|
||||
@ stub AppendPrinterNotifyInfoData
|
||||
@ stub BuildOtherNamesFromMachineName
|
||||
@ stub CallDrvDevModeConversion
|
||||
@ stub CallRouterFindFirstPrinterChangeNotification
|
||||
@ stub ClosePrinter
|
||||
@ stub ClusterSplClose
|
||||
@ stub ClusterSplIsAlive
|
||||
@ stub ClusterSplOpen
|
||||
@ stub ConfigurePortW
|
||||
@ stub CreatePrinterIC
|
||||
@ stub DbgGetPointers
|
||||
@ stub DeleteFormW
|
||||
@ stub DeleteMonitorW
|
||||
@ stub DeletePerMachineConnectionW
|
||||
@ stub DeletePortW
|
||||
@ stub DeletePrintProcessorW
|
||||
@ stub DeletePrintProvidorW
|
||||
@ stub DeletePrinter
|
||||
@ stub DeletePrinterConnectionW
|
||||
@ stub DeletePrinterDataExW
|
||||
@ stub DeletePrinterDataW
|
||||
@ stub DeletePrinterDriverExW
|
||||
@ stub DeletePrinterDriverW
|
||||
@ stub DeletePrinterIC
|
||||
@ stub DeletePrinterKeyW
|
||||
@ stub DllAllocSplMem
|
||||
@ stub DllFreeSplMem
|
||||
@ stub DllFreeSplStr
|
||||
@ stub EndDocPrinter
|
||||
@ stub EndPagePrinter
|
||||
@ stub EnumFormsW
|
||||
@ stub EnumJobsW
|
||||
@ stub EnumMonitorsW
|
||||
@ stub EnumPerMachineConnectionsW
|
||||
@ stub EnumPortsW
|
||||
@ stub EnumPrintProcessorDatatypesW
|
||||
@ stub EnumPrintProcessorsW
|
||||
@ stub EnumPrinterDataExW
|
||||
@ stub EnumPrinterDataW
|
||||
@ stub EnumPrinterDriversW
|
||||
@ stub EnumPrinterKeyW
|
||||
@ stub EnumPrintersW
|
||||
@ stub FindClosePrinterChangeNotification
|
||||
@ stub FlushPrinter
|
||||
@ stub FormatPrinterForRegistryKey
|
||||
@ stub FormatRegistryKeyForPrinter
|
||||
@ stub FreeOtherNames
|
||||
@ stub GetClientUserHandle
|
||||
@ stub GetFormW
|
||||
@ stub GetJobAttributes
|
||||
@ stub GetJobW
|
||||
@ stub GetNetworkId
|
||||
@ stub GetPrintProcessorDirectoryW
|
||||
@ stub GetPrinterDataExW
|
||||
@ stub GetPrinterDataW
|
||||
@ stub GetPrinterDriverDirectoryW
|
||||
@ stub GetPrinterDriverExW
|
||||
@ stub GetPrinterDriverW
|
||||
@ stub GetPrinterW
|
||||
@ stub ImpersonatePrinterClient
|
||||
@ stub InitializeRouter
|
||||
@ stub IsLocalCall
|
||||
@ stub IsNamedPipeRpcCall
|
||||
@ stub LoadDriver
|
||||
@ stub LoadDriverFiletoConvertDevmode
|
||||
@ stub MIDL_user_allocate1
|
||||
@ stub MIDL_user_free1
|
||||
@ stub MarshallDownStructure
|
||||
@ stub MarshallUpStructure
|
||||
@ stub OldGetPrinterDriverW
|
||||
@ stub OpenPrinterExW
|
||||
@ stub OpenPrinterPortW
|
||||
@ stub OpenPrinterW
|
||||
@ stub PackStrings
|
||||
@ stub PartialReplyPrinterChangeNotification
|
||||
@ stub PlayGdiScriptOnPrinterIC
|
||||
@ stub PrinterHandleRundown
|
||||
@ stub PrinterMessageBoxW
|
||||
@ stub ProvidorFindClosePrinterChangeNotification
|
||||
@ stub ProvidorFindFirstPrinterChangeNotification
|
||||
@ stub ReadPrinter
|
||||
@ stub ReallocSplMem
|
||||
@ stub ReallocSplStr
|
||||
@ stub RemoteFindFirstPrinterChangeNotification
|
||||
@ stub ReplyClosePrinter
|
||||
@ stub ReplyOpenPrinter
|
||||
@ stub ReplyPrinterChangeNotification
|
||||
@ stub ResetPrinterW
|
||||
@ stub RevertToPrinterSelf
|
||||
@ stub RouterAllocPrinterNotifyInfo
|
||||
@ stub RouterFindFirstPrinterChangeNotification
|
||||
@ stub RouterFindNextPrinterChangeNotification
|
||||
@ stub RouterFreePrinterNotifyInfo
|
||||
@ stub RouterRefreshPrinterChangeNotification
|
||||
@ stub RouterReplyPrinter
|
||||
@ stub ScheduleJob
|
||||
@ stub SeekPrinter
|
||||
@ stub SetAllocFailCount
|
||||
@ stub SetFormW
|
||||
@ stub SetJobW
|
||||
@ stub SetPortW
|
||||
@ stub SetPrinterDataExW
|
||||
@ stub SetPrinterDataW
|
||||
@ stub SetPrinterW
|
||||
@ stub SplCloseSpoolFileHandle
|
||||
@ stub SplCommitSpoolData
|
||||
@ stub SplDriverUnloadComplete
|
||||
@ stub SplGetSpoolFileInfo
|
||||
@ stub SplInitializeWinSpoolDrv
|
||||
@ stub SplIsUpgrade
|
||||
@ stub SplProcessPnPEvent
|
||||
@ stub SplReadPrinter
|
||||
@ stub SplRegisterForDeviceEvents
|
||||
@ stub SplStartPhase2Init
|
||||
@ stub SplUnregisterForDeviceEvents
|
||||
@ stub SpoolerFindClosePrinterChangeNotification
|
||||
@ stub SpoolerFindFirstPrinterChangeNotification
|
||||
@ stub SpoolerFindNextPrinterChangeNotification
|
||||
@ stub SpoolerFreePrinterNotifyInfo
|
||||
@ stub SpoolerHasInitialized
|
||||
@ stub SpoolerInit
|
||||
@ stub StartDocPrinterW
|
||||
@ stub StartPagePrinter
|
||||
@ stub UnloadDriver
|
||||
@ stub UnloadDriverFile
|
||||
@ stub UpdateBufferSize
|
||||
@ stub UpdatePrinterRegAll
|
||||
@ stub UpdatePrinterRegUser
|
||||
@ stub WaitForPrinterChange
|
||||
@ stub WaitForSpoolerInitialization
|
||||
@ stub WritePrinter
|
||||
@ stub XcvDataW
|
||||
@ stub bGetDevModePerUser
|
||||
@ stub bSetDevModePerUser
|
||||
@ stub pszDbgAllocMsgA
|
||||
@ stub vDbgLogError
|
|
@ -0,0 +1,47 @@
|
|||
/*
|
||||
* Implementation of the Spooler-Service helper DLL
|
||||
*
|
||||
* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
#include "winbase.h"
|
||||
#include "winerror.h"
|
||||
#include "wine/debug.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(spoolss);
|
||||
|
||||
|
||||
/******************************************************************
|
||||
*
|
||||
*/
|
||||
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;
|
||||
}
|
Loading…
Reference in New Issue