Commit 3fd4a536 authored by Detlef Riekenberg's avatar Detlef Riekenberg Committed by Alexandre Julliard

printui: Add stub for printui.dll.

parent b7a7cc6b
...@@ -329,6 +329,7 @@ ALL_MAKEFILES = \ ...@@ -329,6 +329,7 @@ ALL_MAKEFILES = \
dlls/opengl32/Makefile \ dlls/opengl32/Makefile \
dlls/pdh/Makefile \ dlls/pdh/Makefile \
dlls/powrprof/Makefile \ dlls/powrprof/Makefile \
dlls/printui/Makefile \
dlls/psapi/Makefile \ dlls/psapi/Makefile \
dlls/psapi/tests/Makefile \ dlls/psapi/tests/Makefile \
dlls/pstorec/Makefile \ dlls/pstorec/Makefile \
...@@ -682,6 +683,7 @@ dlls/olesvr32/Makefile: dlls/olesvr32/Makefile.in dlls/Makedll.rules ...@@ -682,6 +683,7 @@ dlls/olesvr32/Makefile: dlls/olesvr32/Makefile.in dlls/Makedll.rules
dlls/opengl32/Makefile: dlls/opengl32/Makefile.in dlls/Makedll.rules dlls/opengl32/Makefile: dlls/opengl32/Makefile.in dlls/Makedll.rules
dlls/pdh/Makefile: dlls/pdh/Makefile.in dlls/Makedll.rules dlls/pdh/Makefile: dlls/pdh/Makefile.in dlls/Makedll.rules
dlls/powrprof/Makefile: dlls/powrprof/Makefile.in dlls/Makedll.rules dlls/powrprof/Makefile: dlls/powrprof/Makefile.in dlls/Makedll.rules
dlls/printui/Makefile: dlls/printui/Makefile.in dlls/Makedll.rules
dlls/psapi/Makefile: dlls/psapi/Makefile.in dlls/Makedll.rules dlls/psapi/Makefile: dlls/psapi/Makefile.in dlls/Makedll.rules
dlls/psapi/tests/Makefile: dlls/psapi/tests/Makefile.in dlls/Maketest.rules dlls/psapi/tests/Makefile: dlls/psapi/tests/Makefile.in dlls/Maketest.rules
dlls/pstorec/Makefile: dlls/pstorec/Makefile.in dlls/Makedll.rules dlls/pstorec/Makefile: dlls/pstorec/Makefile.in dlls/Makedll.rules
......
...@@ -20722,6 +20722,8 @@ ac_config_files="$ac_config_files dlls/pdh/Makefile" ...@@ -20722,6 +20722,8 @@ ac_config_files="$ac_config_files dlls/pdh/Makefile"
ac_config_files="$ac_config_files dlls/powrprof/Makefile" ac_config_files="$ac_config_files dlls/powrprof/Makefile"
ac_config_files="$ac_config_files dlls/printui/Makefile"
ac_config_files="$ac_config_files dlls/psapi/Makefile" ac_config_files="$ac_config_files dlls/psapi/Makefile"
ac_config_files="$ac_config_files dlls/psapi/tests/Makefile" ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
...@@ -21793,6 +21795,7 @@ do ...@@ -21793,6 +21795,7 @@ do
"dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;; "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
"dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;; "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
"dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;; "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
"dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
"dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;; "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
"dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;; "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
"dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;; "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
......
...@@ -1612,6 +1612,7 @@ AC_CONFIG_FILES([dlls/olesvr32/Makefile]) ...@@ -1612,6 +1612,7 @@ AC_CONFIG_FILES([dlls/olesvr32/Makefile])
AC_CONFIG_FILES([dlls/opengl32/Makefile]) AC_CONFIG_FILES([dlls/opengl32/Makefile])
AC_CONFIG_FILES([dlls/pdh/Makefile]) AC_CONFIG_FILES([dlls/pdh/Makefile])
AC_CONFIG_FILES([dlls/powrprof/Makefile]) AC_CONFIG_FILES([dlls/powrprof/Makefile])
AC_CONFIG_FILES([dlls/printui/Makefile])
AC_CONFIG_FILES([dlls/psapi/Makefile]) AC_CONFIG_FILES([dlls/psapi/Makefile])
AC_CONFIG_FILES([dlls/psapi/tests/Makefile]) AC_CONFIG_FILES([dlls/psapi/tests/Makefile])
AC_CONFIG_FILES([dlls/pstorec/Makefile]) AC_CONFIG_FILES([dlls/pstorec/Makefile])
......
...@@ -143,6 +143,7 @@ BASEDIRS = \ ...@@ -143,6 +143,7 @@ BASEDIRS = \
olesvr32 \ olesvr32 \
pdh \ pdh \
powrprof \ powrprof \
printui \
psapi \ psapi \
pstorec \ pstorec \
qcap \ qcap \
......
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = printui.dll
IMPORTS = kernel32
C_SRCS = \
printui.c
@MAKE_DLL_RULES@
@DEPENDENCIES@ # everything below this line is overwritten by make depend
/*
* Implementation of the Printer User Interface Dialogs
*
* 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 "wine/unicode.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(printui);
HINSTANCE PRINTUI_hInstance = NULL;
/*****************************************************
* DllMain
*/
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
TRACE("(%p, %d, %p)\n",hinstDLL, fdwReason, lpvReserved);
switch(fdwReason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
PRINTUI_hInstance = hinstDLL;
DisableThreadLibraryCalls( hinstDLL );
break;
}
return TRUE;
}
/*****************************************************
* PrintUIEntryW [printui.@]
* Commandline-Interface for using printui.dll with rundll32.exe
*
*/
void WINAPI PrintUIEntryW(HWND hWnd, HINSTANCE hInst, LPCWSTR pCommand, DWORD nCmdShow)
{
FIXME("(%p, %p, %s, 0x%x) stub\n", hWnd, hInst, debugstr_w(pCommand), nCmdShow);
}
@ stub ConnectToPrinterDlg
@ stub ConnectToPrinterPropertyPage
@ stub ConstructPrinterFriendlyName
@ stub DllCanUnloadNow
@ stub DllGetClassObject
@ stub DocumentPropertiesWrap
@ stub PnPInterface
@ stub PrintNotifyTray_Exit
@ stub PrintNotifyTray_Init
@ stdcall PrintUIEntryW(ptr ptr wstr long)
@ stub PrinterPropPageProvider
@ stub RegisterPrintNotify
@ stub ShowErrorMessageHR
@ stub ShowErrorMessageSC
@ stub UnregisterPrintNotify
@ stub bFolderEnumPrinters
@ stub bFolderGetPrinter
@ stub bFolderRefresh
@ stub bPrinterSetup
@ stub vDocumentDefaults
@ stub vPrinterPropPages
@ stub vQueueCreate
@ stub vServerPropPages
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment