winsta: Add a stub dll.

This commit is contained in:
Austin English 2011-05-21 20:14:37 -05:00 committed by Alexandre Julliard
parent 35707aee68
commit 14067ac17f
5 changed files with 147 additions and 0 deletions

1
configure vendored
View File

@ -15526,6 +15526,7 @@ wine_fn_config_dll winscard enable_winscard implib
wine_fn_config_dll winsock.dll16 enable_win16
wine_fn_config_dll winspool.drv enable_winspool_drv po,implib winspool
wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
wine_fn_config_dll winsta enable_winsta
wine_fn_config_dll wintab.dll16 enable_win16
wine_fn_config_dll wintab32 enable_wintab32 implib
wine_fn_config_test dlls/wintab32/tests wintab32_test

View File

@ -2899,6 +2899,7 @@ WINE_CONFIG_DLL(winscard,,[implib])
WINE_CONFIG_DLL(winsock.dll16,enable_win16)
WINE_CONFIG_DLL(winspool.drv,,[po,implib],[winspool])
WINE_CONFIG_TEST(dlls/winspool.drv/tests)
WINE_CONFIG_DLL(winsta)
WINE_CONFIG_DLL(wintab.dll16,enable_win16)
WINE_CONFIG_DLL(wintab32,,[implib])
WINE_CONFIG_TEST(dlls/wintab32/tests)

6
dlls/winsta/Makefile.in Normal file
View File

@ -0,0 +1,6 @@
MODULE = winsta.dll
C_SRCS = \
main.c
@MAKE_DLL_RULES@

44
dlls/winsta/main.c Normal file
View File

@ -0,0 +1,44 @@
/*
* Winstation library implementation
*
* Copyright 2011 Austin English
*
* 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>
#include "windef.h"
#include "winbase.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(winsta);
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved);
switch (fdwReason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hinstDLL);
break;
default:
break;
}
return TRUE;
}

95
dlls/winsta/winsta.spec Normal file
View File

@ -0,0 +1,95 @@
@ stub LogonIdFromWinStationNameA
@ stub LogonIdFromWinStationNameW
@ stub RemoteAssistancePrepareSystemRestore
@ stub ServerGetInternetConnectorStatus
@ stub ServerLicensingClose
@ stub ServerLicensingDeactivateCurrentPolicy
@ stub ServerLicensingFreePolicyInformation
@ stub ServerLicensingGetAvailablePolicyIds
@ stub ServerLicensingGetPolicy
@ stub ServerLicensingGetPolicyInformationA
@ stub ServerLicensingGetPolicyInformationW
@ stub ServerLicensingLoadPolicy
@ stub ServerLicensingOpenA
@ stub ServerLicensingOpenW
@ stub ServerLicensingSetPolicy
@ stub ServerLicensingUnloadPolicy
@ stub ServerQueryInetConnectorInformationA
@ stub ServerQueryInetConnectorInformationW
@ stub ServerSetInternetConnectorStatus
@ stub WinStationActivateLicense
@ stub WinStationAutoReconnect
@ stub WinStationBroadcastSystemMessage
@ stub WinStationCheckLoopBack
@ stub WinStationCloseServer
@ stub WinStationConnectA
@ stub WinStationConnectCallback
@ stub WinStationConnectW
@ stub WinStationDisconnect
@ stub WinStationEnumerateA
@ stub WinStationEnumerateLicenses
@ stub WinStationEnumerateProcesses
@ stub WinStationEnumerateW
@ stub WinStationEnumerate_IndexedA
@ stub WinStationEnumerate_IndexedW
@ stub WinStationFreeGAPMemory
@ stub WinStationFreeMemory
@ stub WinStationGenerateLicense
@ stub WinStationGetAllProcesses
@ stub WinStationGetLanAdapterNameA
@ stub WinStationGetLanAdapterNameW
@ stub WinStationGetMachinePolicy
@ stub WinStationGetProcessSid
@ stub WinStationGetTermSrvCountersValue
@ stub WinStationInstallLicense
@ stub WinStationIsHelpAssistantSession
@ stub WinStationNameFromLogonIdA
@ stub WinStationNameFromLogonIdW
@ stub WinStationNtsdDebug
@ stub WinStationOpenServerA
@ stub WinStationOpenServerW
@ stub WinStationQueryInformationA
@ stub WinStationQueryInformationW
@ stub WinStationQueryLicense
@ stub WinStationQueryLogonCredentialsW
@ stub WinStationQueryUpdateRequired
@ stub WinStationRegisterConsoleNotification
@ stub WinStationRemoveLicense
@ stub WinStationRenameA
@ stub WinStationRenameW
@ stub WinStationReset
@ stub WinStationSendMessageA
@ stub WinStationSendMessageW
@ stub WinStationSendWindowMessage
@ stub WinStationServerPing
@ stub WinStationSetInformationA
@ stub WinStationSetInformationW
@ stub WinStationSetPoolCount
@ stub WinStationShadow
@ stub WinStationShadowStop
@ stub WinStationShutdownSystem
@ stub WinStationTerminateProcess
@ stub WinStationUnRegisterConsoleNotification
@ stub WinStationVirtualOpen
@ stub WinStationWaitSystemEvent
@ stub _NWLogonQueryAdmin
@ stub _NWLogonSetAdmin
@ stub _WinStationAnnoyancePopup
@ stub _WinStationBeepOpen
@ stub _WinStationBreakPoint
@ stub _WinStationCallback
@ stub _WinStationCheckForApplicationName
@ stub _WinStationFUSCanRemoteUserDisconnect
@ stub _WinStationGetApplicationInfo
@ stub _WinStationNotifyDisconnectPipe
@ stub _WinStationNotifyLogoff
@ stub _WinStationNotifyLogon
@ stub _WinStationNotifyNewSession
@ stub _WinStationReInitializeSecurity
@ stub _WinStationReadRegistry
@ stub _WinStationShadowTarget
@ stub _WinStationShadowTargetSetup
@ stub _WinStationUpdateClientCachedCredentials
@ stub _WinStationUpdateSettings
@ stub _WinStationUpdateUserConfig
@ stub _WinStationWaitForConnect