winsta.dll raw stubs

svn path=/trunk/; revision=14196
This commit is contained in:
Emanuele Aliberti 2005-03-19 18:31:14 +00:00
parent 9cb33ba90d
commit 6f3c732b92
8 changed files with 297 additions and 0 deletions

50
reactos/lib/winsta/main.c Normal file
View file

@ -0,0 +1,50 @@
/*
* ReactOS WinStation
* Copyright (C) 2005 ReactOS Team
*
* 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
*/
/* $Id$
*
* PROJECT: ReactOS Access Control List Editor
* FILE: lib/winsta/main.c
* PURPOSE: WinStation
* PROGRAMMER: Emanuele Aliberti <ea@reactos.com>
*/
#include <windows.h>
HINSTANCE hDllInstance;
BOOL STDCALL
DllMain(HINSTANCE hinstDLL,
DWORD dwReason,
LPVOID lpvReserved)
{
switch (dwReason)
{
case DLL_PROCESS_ATTACH:
hDllInstance = hinstDLL;
break;
case DLL_THREAD_ATTACH:
break;
case DLL_THREAD_DETACH:
break;
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}
/* EOF */

View file

@ -0,0 +1,23 @@
# $Id$
PATH_TO_TOP = ../..
TARGET_TYPE = dynlink
TARGET_NAME = winsta
TARGET_CFLAGS = -g -Werror -Wall
TARGET_OBJECTS = \
main.o \
misc.o \
server.o \
ws.o
include $(PATH_TO_TOP)/rules.mak
include $(TOOLS_PATH)/helper.mk
include $(TOOLS_PATH)/depend.mk
# EOF

12
reactos/lib/winsta/misc.c Normal file
View file

@ -0,0 +1,12 @@
/* $Id$ */
#include <windows.h>
#include "winsta.h"
WINSTASTUB(LogonIdFromWinStationNameA)
WINSTASTUB(LogonIdFromWinStationNameW)
WINSTASTUB(RemoteAssistancePrepareSystemRestore)
WINSTASTUB(_NWLogonQueryAdmin)
WINSTASTUB(_NWLogonSetAdmin)
/* EOF */

View file

@ -0,0 +1,21 @@
/* $Id$ */
#include <windows.h>
#include "winsta.h"
WINSTASTUB(ServerGetInternetConnectorStatus)
WINSTASTUB(ServerLicensingClose)
WINSTASTUB(ServerLicensingDeactivateCurrentPolicy)
WINSTASTUB(ServerLicensingFreePolicyInformation)
WINSTASTUB(ServerLicensingGetAvailablePolicyIds)
WINSTASTUB(ServerLicensingGetPolicy)
WINSTASTUB(ServerLicensingGetPolicyInformationA)
WINSTASTUB(ServerLicensingGetPolicyInformationW)
WINSTASTUB(ServerLicensingLoadPolicy)
WINSTASTUB(ServerLicensingOpenA)
WINSTASTUB(ServerLicensingOpenW)
WINSTASTUB(ServerLicensingSetPolicy)
WINSTASTUB(ServerLicensingUnloadPolicy)
WINSTASTUB(ServerQueryInetConnectorInformationA)
WINSTASTUB(ServerQueryInetConnectorInformationW)
WINSTASTUB(ServerSetInternetConnectorStatus)
/* EOF */

View file

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

View file

@ -0,0 +1,7 @@
#if !defined(_WINSTA_H)
#define _WINSTA_H
#define WINSTASTUB(n) VOID STDCALL n (VOID) { }
#endif /* !def _WINSTA_H */

View file

@ -0,0 +1,4 @@
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS WinStation\0"
#define REACTOS_STR_INTERNAL_NAME "winsta\0"
#define REACTOS_STR_ORIGINAL_FILENAME "winsta.dll\0"
#include <reactos/version.rc>

80
reactos/lib/winsta/ws.c Normal file
View file

@ -0,0 +1,80 @@
/* $Id$ */
#include <windows.h>
#include "winsta.h"
WINSTASTUB(WinStationActivateLicense)
WINSTASTUB(WinStationAutoReconnect)
WINSTASTUB(WinStationBroadcastSystemMessage)
WINSTASTUB(WinStationCheckLoopBack)
WINSTASTUB(WinStationCloseServer)
WINSTASTUB(WinStationConnectA)
WINSTASTUB(WinStationConnectCallback)
WINSTASTUB(WinStationConnectW)
WINSTASTUB(WinStationDisconnect)
WINSTASTUB(WinStationEnumerateA)
WINSTASTUB(WinStationEnumerateLicenses)
WINSTASTUB(WinStationEnumerateProcesses)
WINSTASTUB(WinStationEnumerateW)
WINSTASTUB(WinStationEnumerate_IndexedA)
WINSTASTUB(WinStationEnumerate_IndexedW)
WINSTASTUB(WinStationFreeGAPMemory)
WINSTASTUB(WinStationFreeMemory)
WINSTASTUB(WinStationGenerateLicense)
WINSTASTUB(WinStationGetAllProcesses)
WINSTASTUB(WinStationGetLanAdapterNameA)
WINSTASTUB(WinStationGetLanAdapterNameW)
WINSTASTUB(WinStationGetMachinePolicy)
WINSTASTUB(WinStationGetProcessSid)
WINSTASTUB(WinStationGetTermSrvCountersValue)
WINSTASTUB(WinStationInstallLicense)
WINSTASTUB(WinStationIsHelpAssistantSession)
WINSTASTUB(WinStationNameFromLogonIdA)
WINSTASTUB(WinStationNameFromLogonIdW)
WINSTASTUB(WinStationNtsdDebug)
WINSTASTUB(WinStationOpenServerA)
WINSTASTUB(WinStationOpenServerW)
WINSTASTUB(WinStationQueryInformationA)
WINSTASTUB(WinStationQueryInformationW)
WINSTASTUB(WinStationQueryLicense)
WINSTASTUB(WinStationQueryLogonCredentialsW)
WINSTASTUB(WinStationQueryUpdateRequired)
WINSTASTUB(WinStationRegisterConsoleNotification)
WINSTASTUB(WinStationRemoveLicense)
WINSTASTUB(WinStationRenameA)
WINSTASTUB(WinStationRenameW)
WINSTASTUB(WinStationRequestSessionsList)
WINSTASTUB(WinStationReset)
WINSTASTUB(WinStationSendMessageA)
WINSTASTUB(WinStationSendMessageW)
WINSTASTUB(WinStationSendWindowMessage)
WINSTASTUB(WinStationServerPing)
WINSTASTUB(WinStationSetInformationA)
WINSTASTUB(WinStationSetInformationW)
WINSTASTUB(WinStationSetPoolCount)
WINSTASTUB(WinStationShadow)
WINSTASTUB(WinStationShadowStop)
WINSTASTUB(WinStationShutdownSystem)
WINSTASTUB(WinStationTerminateProcess)
WINSTASTUB(WinStationUnRegisterConsoleNotification)
WINSTASTUB(WinStationVirtualOpen)
WINSTASTUB(WinStationWaitSystemEvent)
WINSTASTUB(_WinStationAnnoyancePopup)
WINSTASTUB(_WinStationBeepOpen)
WINSTASTUB(_WinStationBreakPoint)
WINSTASTUB(_WinStationCallback)
WINSTASTUB(_WinStationCheckForApplicationName)
WINSTASTUB(_WinStationFUSCanRemoteUserDisconnect)
WINSTASTUB(_WinStationGetApplicationInfo)
WINSTASTUB(_WinStationNotifyDisconnectPipe)
WINSTASTUB(_WinStationNotifyLogoff)
WINSTASTUB(_WinStationNotifyLogon)
WINSTASTUB(_WinStationNotifyNewSession)
WINSTASTUB(_WinStationReInitializeSecurity)
WINSTASTUB(_WinStationReadRegistry)
WINSTASTUB(_WinStationShadowTarget)
WINSTASTUB(_WinStationShadowTargetSetup)
WINSTASTUB(_WinStationUpdateClientCachedCredentials)
WINSTASTUB(_WinStationUpdateSettings)
WINSTASTUB(_WinStationUpdateUserConfig)
WINSTASTUB(_WinStationWaitForConnect)
/* EOF */