Fully stubbed winspool.drv (Wine printing is too different from ReactOS

to use that one)

svn path=/trunk/; revision=4622
This commit is contained in:
Gé van Geldorp 2003-04-30 20:44:06 +00:00
parent 5fd8b65697
commit 4c59119a88
7 changed files with 1392 additions and 2 deletions

View file

@ -30,11 +30,12 @@ BUS = acpi isapnp pci
# vfatlib
LIB_FSLIB = vfatlib
# User mode libraries
# User and kernel mode libraries
# advapi32 crtdll fmifs gdi32 kernel32 libpcap packet msafd msvcrt ntdll ole32
# oleaut32 epsapi psapi rpcrt4 secur32 shell32 user32 version ws2help ws2_32 wsock32 wshirda
DLLS = rosrtl advapi32 crtdll fmifs freetype gdi32 kernel32 packet msafd msvcrt ntdll \
epsapi psapi secur32 user32 version winedbgc ws2help ws2_32 wsock32 wshirda zlib #winmm
epsapi psapi secur32 user32 version winedbgc winspool ws2help ws2_32 wsock32 \
wshirda zlib #winmm
SUBSYS = smss win32k csrss ntvdm

View file

@ -0,0 +1,9 @@
winspool.a
winspool.drv
winspool.nostrip.drv
winspool.coff
winspool.sym
base.tmp
junk.tmp
temp.exp
.*.d

View file

@ -0,0 +1,38 @@
# $Id: Makefile,v 1.1 2003/04/30 20:44:06 gvg Exp $
PATH_TO_TOP = ../..
TARGET_TYPE = dynlink
TARGET_NAME = winspool
TARGET_EXTENSION = .drv
TARGET_BASE = 0x77800000
TARGET_CFLAGS = \
-I./include \
-Wall \
-Werror \
-fno-builtin \
-DUNICODE \
-DLE \
-DDBG
TARGET_LFLAGS = -nostartfiles -nostdlib
TARGET_SDKLIBS = kernel32.a
TARGET_OBJECTS = stubs.o
TARGET_CLEAN = $(DEP_FILES)
include $(PATH_TO_TOP)/rules.mak
include $(TOOLS_PATH)/helper.mk
# Automatic dependency tracking
DEP_OBJECTS := $(TARGET_OBJECTS)
include $(PATH_TO_TOP)/tools/depend.mk
# EOF

1073
reactos/lib/winspool/stubs.c Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,114 @@
; $Id: winspool.def,v 1.1 2003/04/30 20:44:06 gvg Exp $
;
; winspool.drv - Printer spooler
LIBRARY winspool.drv
EXPORTS
AbortPrinter@4
AddFormA@12
AddFormW@12
AddJobA@20
AddJobW@20
AddMonitorA@12
AddMonitorW@12
AddPortA@12
AddPortW@12
AddPrinterA@12
AddPrinterConnectionA@4
AddPrinterConnectionW@4
AddPrinterDriverA@12
AddPrinterDriverW@12
AddPrinterW@12
AddPrintProcessorA@16
AddPrintProcessorW@16
AddPrintProvidorA@12
AddPrintProvidorW@12
AdvancedDocumentPropertiesA@20
AdvancedDocumentPropertiesW@20
ClosePrinter@4
ConfigurePortA@12
ConfigurePortW@12
ConnectToPrinterDlg@8
DeleteFormA@8
DeleteFormW@8
DeleteMonitorA@12
DeleteMonitorW@12
DeletePortA@12
DeletePortW@12
DeletePrinter@4
DeletePrinterConnectionA@4
DeletePrinterConnectionW@4
DeletePrinterDataA@8
DeletePrinterDataW@8
DeletePrinterDriverA@12
DeletePrinterDriverW@12
DeletePrintProcessorA@12
DeletePrintProcessorW@12
DeletePrintProvidorA@12
DeletePrintProvidorW@12
DeviceCapabilitiesA@20
DeviceCapabilitiesW@20
DllMain@12
DocumentPropertiesA@24
DocumentPropertiesW@24
EndDocPrinter@4
EndPagePrinter@4
EnumFormsA@24
EnumFormsW@24
EnumJobsA@32
EnumJobsW@32
EnumMonitorsA@24
EnumMonitorsW@24
EnumPortsA@24
EnumPortsW@24
EnumPrinterDataA@36
EnumPrinterDataW@36
EnumPrinterDriversA@28
EnumPrinterDriversW@28
EnumPrintersA@28
EnumPrintersW@28
EnumPrintProcessorDatatypesA@28
EnumPrintProcessorDatatypesW@28
EnumPrintProcessorsA@28
EnumPrintProcessorsW@28
FindClosePrinterChangeNotification@4
FindFirstPrinterChangeNotification@16
FindNextPrinterChangeNotification@16
FreePrinterNotifyInfo@4
GetFormA@24
GetFormW@24
GetJobA@24
GetJobW@24
GetPrinterA@20
GetPrinterDataA@24
GetPrinterDataW@24
GetPrinterDriverA@24
GetPrinterDriverDirectoryA@24
GetPrinterDriverDirectoryW@24
GetPrinterDriverW@24
GetPrinterW@20
GetPrintProcessorDirectoryA@24
GetPrintProcessorDirectoryW@24
OpenPrinterA@12
OpenPrinterW@12
PrinterMessageBoxA@24
PrinterMessageBoxW@24
PrinterProperties@8
ReadPrinter@16
ResetPrinterA@8
ResetPrinterW@8
ScheduleJob@8
SetFormA@16
SetFormW@16
SetJobA@20
SetJobW@20
SetPrinterA@16
SetPrinterDataA@20
SetPrinterDataW@20
SetPrinterW@16
StartDocPrinterA@12
StartDocPrinterW@12
StartPagePrinter@4
WaitForPrinterChange@8
WritePrinter@16

View file

@ -0,0 +1,114 @@
; $Id: winspool.edf,v 1.1 2003/04/30 20:44:06 gvg Exp $
;
; winspool.drv - Printer spooler
LIBRARY winspool.drv
EXPORTS
AbortPrinter=AbortPrinter@4
AddFormA=AddFormA@12
AddFormW=AddFormW@12
AddJobA=AddJobA@20
AddJobW=AddJobW@20
AddMonitorA=AddMonitorA@12
AddMonitorW=AddMonitorW@12
AddPortA=AddPortA@12
AddPortW=AddPortW@12
AddPrinterA=AddPrinterA@12
AddPrinterConnectionA=AddPrinterConnectionA@4
AddPrinterConnectionW=AddPrinterConnectionW@4
AddPrinterDriverA=AddPrinterDriverA@12
AddPrinterDriverW=AddPrinterDriverW@12
AddPrinterW=AddPrinterW@12
AddPrintProcessorA=AddPrintProcessorA@16
AddPrintProcessorW=AddPrintProcessorW@16
AddPrintProvidorA=AddPrintProvidorA@12
AddPrintProvidorW=AddPrintProvidorW@12
AdvancedDocumentPropertiesA=AdvancedDocumentPropertiesA@20
AdvancedDocumentPropertiesW=AdvancedDocumentPropertiesW@20
ClosePrinter=ClosePrinter@4
ConfigurePortA=ConfigurePortA@12
ConfigurePortW=ConfigurePortW@12
ConnectToPrinterDlg=ConnectToPrinterDlg@8
DeleteFormA=DeleteFormA@8
DeleteFormW=DeleteFormW@8
DeleteMonitorA=DeleteMonitorA@12
DeleteMonitorW=DeleteMonitorW@12
DeletePortA=DeletePortA@12
DeletePortW=DeletePortW@12
DeletePrinter=DeletePrinter@4
DeletePrinterConnectionA=DeletePrinterConnectionA@4
DeletePrinterConnectionW=DeletePrinterConnectionW@4
DeletePrinterDataA=DeletePrinterDataA@8
DeletePrinterDataW=DeletePrinterDataW@8
DeletePrinterDriverA=DeletePrinterDriverA@12
DeletePrinterDriverW=DeletePrinterDriverW@12
DeletePrintProcessorA=DeletePrintProcessorA@12
DeletePrintProcessorW=DeletePrintProcessorW@12
DeletePrintProvidorA=DeletePrintProvidorA@12
DeletePrintProvidorW=DeletePrintProvidorW@12
DeviceCapabilitiesA=DeviceCapabilitiesA@20
DeviceCapabilitiesW=DeviceCapabilitiesW@20
DllMain=DllMain@12
DocumentPropertiesA=DocumentPropertiesA@24
DocumentPropertiesW=DocumentPropertiesW@24
EndDocPrinter=EndDocPrinter@4
EndPagePrinter=EndPagePrinter@4
EnumFormsA=EnumFormsA@24
EnumFormsW=EnumFormsW@24
EnumJobsA=EnumJobsA@32
EnumJobsW=EnumJobsW@32
EnumMonitorsA=EnumMonitorsA@24
EnumMonitorsW=EnumMonitorsW@24
EnumPortsA=EnumPortsA@24
EnumPortsW=EnumPortsW@24
EnumPrinterDataA=EnumPrinterDataA@36
EnumPrinterDataW=EnumPrinterDataW@36
EnumPrinterDriversA=EnumPrinterDriversA@28
EnumPrinterDriversW=EnumPrinterDriversW@28
EnumPrintersA=EnumPrintersA@28
EnumPrintersW=EnumPrintersW@28
EnumPrintProcessorDatatypesA=EnumPrintProcessorDatatypesA@28
EnumPrintProcessorDatatypesW=EnumPrintProcessorDatatypesW@28
EnumPrintProcessorsA=EnumPrintProcessorsA@28
EnumPrintProcessorsW=EnumPrintProcessorsW@28
FindClosePrinterChangeNotification=FindClosePrinterChangeNotification@4
FindFirstPrinterChangeNotification=FindFirstPrinterChangeNotification@16
FindNextPrinterChangeNotification=FindNextPrinterChangeNotification@16
FreePrinterNotifyInfo=FreePrinterNotifyInfo@4
GetFormA=GetFormA@24
GetFormW=GetFormW@24
GetJobA=GetJobA@24
GetJobW=GetJobW@24
GetPrinterA=GetPrinterA@20
GetPrinterDataA=GetPrinterDataA@24
GetPrinterDataW=GetPrinterDataW@24
GetPrinterDriverA=GetPrinterDriverA@24
GetPrinterDriverDirectoryA=GetPrinterDriverDirectoryA@24
GetPrinterDriverDirectoryW=GetPrinterDriverDirectoryW@24
GetPrinterDriverW=GetPrinterDriverW@24
GetPrinterW=GetPrinterW@20
GetPrintProcessorDirectoryA=GetPrintProcessorDirectoryA@24
GetPrintProcessorDirectoryW=GetPrintProcessorDirectoryW@24
OpenPrinterA=OpenPrinterA@12
OpenPrinterW=OpenPrinterW@12
PrinterMessageBoxA=PrinterMessageBoxA@24
PrinterMessageBoxW=PrinterMessageBoxW@24
PrinterProperties=PrinterProperties@8
ReadPrinter=ReadPrinter@16
ResetPrinterA=ResetPrinterA@8
ResetPrinterW=ResetPrinterW@8
ScheduleJob=ScheduleJob@8
SetFormA=SetFormA@16
SetFormW=SetFormW@16
SetJobA=SetJobA@20
SetJobW=SetJobW@20
SetPrinterA=SetPrinterA@16
SetPrinterDataA=SetPrinterDataA@20
SetPrinterDataW=SetPrinterDataW@20
SetPrinterW=SetPrinterW@16
StartDocPrinterA=StartDocPrinterA@12
StartDocPrinterW=StartDocPrinterW@12
StartPagePrinter=StartPagePrinter@4
WaitForPrinterChange=WaitForPrinterChange@8
WritePrinter=WritePrinter@16

View file

@ -0,0 +1,41 @@
/* $Id: winspool.rc,v 1.1 2003/04/30 20:44:06 gvg Exp $ */
#include <defines.h>
#include <reactos/resource.h>
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
VS_VERSION_INFO VERSIONINFO
FILEVERSION RES_UINT_FV_MAJOR,RES_UINT_FV_MINOR,RES_UINT_FV_REVISION,RES_UINT_FV_BUILD
PRODUCTVERSION RES_UINT_PV_MAJOR,RES_UINT_PV_MINOR,RES_UINT_PV_REVISION,RES_UINT_PV_BUILD
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x40004L
FILETYPE 0x2L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "CompanyName", RES_STR_COMPANY_NAME
VALUE "FileDescription", "Windows printer spooler\0"
VALUE "FileVersion", RES_STR_FILE_VERSION
VALUE "InternalName", "winspool\0"
VALUE "LegalCopyright", RES_STR_LEGAL_COPYRIGHT
VALUE "OriginalFilename", "winspool.drv\0"
VALUE "ProductName", RES_STR_PRODUCT_NAME
VALUE "ProductVersion", RES_STR_PRODUCT_VERSION
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END