Author: fireball
Date: Fri Dec 12 12:26:42 2008
New Revision: 38030
URL:
http://svn.reactos.org/svn/reactos?rev=38030&view=rev
Log:
- Stubplement winsta.dll, based on a patch by Samuel Serapion.
See issue #2299 for more details.
Added:
trunk/reactos/dll/win32/winsta/logon.c (with props)
trunk/reactos/dll/win32/winsta/query.c (with props)
trunk/reactos/dll/win32/winsta/security.c (with props)
Modified:
trunk/reactos/dll/win32/winsta/main.c
trunk/reactos/dll/win32/winsta/misc.c
trunk/reactos/dll/win32/winsta/server.c
trunk/reactos/dll/win32/winsta/winsta.def
trunk/reactos/dll/win32/winsta/winsta.h
trunk/reactos/dll/win32/winsta/winsta.rbuild
trunk/reactos/dll/win32/winsta/ws.c
Added: trunk/reactos/dll/win32/winsta/logon.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/winsta/logon.c?r…
==============================================================================
--- trunk/reactos/dll/win32/winsta/logon.c (added)
+++ trunk/reactos/dll/win32/winsta/logon.c [iso-8859-1] Fri Dec 12 12:26:42 2008
@@ -1,0 +1,112 @@
+/*
+ * PROJECT: ReactOS winsta.dll
+ * FILE: lib/winsta/logon.c
+ * PURPOSE: WinStation
+ * PROGRAMMER: Samuel Serapi?n
+ * NOTES: This file contains exported functions relevant to
+ * userinit, winlogon, lsass and friends in vista.
+ */
+#include <winsta.h>
+
+VOID
+WINSTAAPI WinStationDisconnect(PVOID A,
+ PVOID B,
+ PVOID C)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationFreeUserCredentials(PVOID A)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationFreeUserCertificates(PVOID A)
+{
+ UNIMPLEMENTED;
+}
+
+BOOL
+WINSTAAPI WinStationIsSessionPermitted()
+{
+ UNIMPLEMENTED;
+ SetLastError(ERROR_SUCCESS);
+ return TRUE;
+}
+
+VOID
+WINSTAAPI WinStationNegotiateSession(PVOID A,
+ PVOID B,
+ PVOID C,
+ PVOID D,
+ PVOID E,
+ PVOID F)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationRedirectErrorMessage(PVOID A,
+ PVOID B)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationReportUIResult(PVOID A,
+ PVOID B,
+ PVOID C)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationGetLoggedOnCount(PVOID A,
+ PVOID B)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationUserLoginAccessCheck(PVOID A,
+ PVOID B,
+ PVOID C,
+ PVOID D)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI _WinStationWaitForConnect()
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationReset(PVOID A,
+ PVOID B,
+ PVOID C)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI _WinStationNotifyLogoff()
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI _WinStationNotifyLogon(PVOID A,
+ PVOID B,
+ PVOID C,
+ PVOID D,
+ PVOID E,
+ PVOID F,
+ PVOID G,
+ PVOID H)
+{
+ UNIMPLEMENTED;
+}
Propchange: trunk/reactos/dll/win32/winsta/logon.c
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/reactos/dll/win32/winsta/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/winsta/main.c?re…
==============================================================================
--- trunk/reactos/dll/win32/winsta/main.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/winsta/main.c [iso-8859-1] Fri Dec 12 12:26:42 2008
@@ -16,14 +16,14 @@
* 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 winsta.dll
* FILE: lib/winsta/main.c
* PURPOSE: WinStation
* PROGRAMMER: Emanuele Aliberti <ea(a)reactos.com>
+ * Samuel Serapi?n
*/
-#include <windows.h>
+#include <winsta.h>
HINSTANCE hDllInstance;
Modified: trunk/reactos/dll/win32/winsta/misc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/winsta/misc.c?re…
==============================================================================
--- trunk/reactos/dll/win32/winsta/misc.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/winsta/misc.c [iso-8859-1] Fri Dec 12 12:26:42 2008
@@ -1,12 +1,67 @@
-/* $Id$ */
-#include <windows.h>
-#include "winsta.h"
+/*
+ * PROJECT: ReactOS winsta.dll
+ * FILE: lib/winsta/misc.c
+ * PURPOSE: WinStation
+ * PROGRAMMER: Samuel Serapi?n
+ * NOTES: Misc functions.
+ *
+ */
+#include <winsta.h>
-WINSTASTUB(LogonIdFromWinStationNameA)
-WINSTASTUB(LogonIdFromWinStationNameW)
-WINSTASTUB(RemoteAssistancePrepareSystemRestore)
-WINSTASTUB(_NWLogonQueryAdmin)
-WINSTASTUB(_NWLogonSetAdmin)
+VOID
+WINSTAAPI LogonIdFromWinStationNameA(PVOID A,
+ PVOID B,
+ PVOID C)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI LogonIdFromWinStationNameW(PVOID A,
+ PVOID B,
+ PVOID C)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI RemoteAssistancePrepareSystemRestore(PVOID A)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI _NWLogonQueryAdmin(PVOID A,
+ PVOID B,
+ PVOID C)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI _NWLogonSetAdmin(PVOID A,
+ PVOID B,
+ PVOID C)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationNameFromLogonIdA(PVOID A,
+ PVOID B,
+ PVOID C)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationNameFromLogonIdW(PVOID A,
+ PVOID B,
+ PVOID C)
+{
+ UNIMPLEMENTED;
+}
+
/* EOF */
Added: trunk/reactos/dll/win32/winsta/query.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/winsta/query.c?r…
==============================================================================
--- trunk/reactos/dll/win32/winsta/query.c (added)
+++ trunk/reactos/dll/win32/winsta/query.c [iso-8859-1] Fri Dec 12 12:26:42 2008
@@ -1,0 +1,229 @@
+/*
+ * PROJECT: ReactOS winsta.dll
+ * FILE: lib/winsta/query.c
+ * PURPOSE: WinStation
+ * PROGRAMMER: Samuel Serapi?n
+ * NOTE: Get, query and enum functions.
+ */
+
+#include <winsta.h>
+
+VOID
+WINSTAAPI
+WinStationQueryLogonCredentialsW(PVOID A)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationQueryInformationA(PVOID A,
+ PVOID B,
+ PVOID C,
+ PVOID D,
+ PVOID E,
+ PVOID F)
+{
+ UNIMPLEMENTED;
+}
+
+/*
+http://msdn2.microsoft.com/En-US/library/aa383827.aspx
+*/
+BOOLEAN
+WINSTAAPI
+WinStationQueryInformationW(HANDLE hServer,
+ ULONG LogonId,
+ WINSTATIONINFOCLASS WinStationInformationClass,
+ PVOID pWinStationInformation,
+ ULONG WinStationInformationLength,
+ PULONG pReturnLength)
+{
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+VOID
+WINSTAAPI WinStationQueryAllowConcurrentConnections()
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationQueryEnforcementCore(PVOID A,
+ PVOID B,
+ PVOID C,
+ PVOID D,
+ PVOID E,
+ PVOID F)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationQueryLicense(PVOID A,
+ PVOID B,
+ PVOID C)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationQueryUpdateRequired(PVOID A,
+ PVOID B)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationEnumerateLicenses(PVOID A,
+ PVOID B,
+ PVOID C)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationEnumerateProcesses(PVOID A,
+ PVOID B)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationEnumerateA(PVOID A,
+ PVOID B,
+ PVOID C)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationEnumerateW(PVOID A,
+ PVOID B,
+ PVOID C)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationEnumerate_IndexedA(PVOID A,
+ PVOID B,
+ PVOID C,
+ PVOID D,
+ PVOID E)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationEnumerate_IndexedW(PVOID A,
+ PVOID B,
+ PVOID C,
+ PVOID D,
+ PVOID E)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationRequestSessionsList(PVOID A,
+ PVOID B,
+ PVOID C)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationGetAllProcesses(PVOID A,
+ PVOID B,
+ PVOID C,
+ PVOID D)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationGetLanAdapterNameA(PVOID A,
+ PVOID B,
+ PVOID C,
+ PVOID D,
+ PVOID E,
+ PVOID F)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationGetLanAdapterNameW(PVOID A,
+ PVOID B,
+ PVOID C,
+ PVOID D,
+ PVOID E,
+ PVOID F)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationGetConnectionProperty(PVOID A,
+ PVOID B,
+ PVOID C)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationGetInitialApplication(PVOID A,
+ PVOID B,
+ PVOID C,
+ PVOID D,
+ PVOID E)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationGetProcessSid(PVOID A,
+ PVOID B,
+ PVOID C,
+ PVOID D,
+ PVOID E,
+ PVOID F)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI
+WinStationGetUserCertificates(PVOID A)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI
+WinStationGetUserCredentials(PVOID A)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationGetUserProfile(PVOID A,
+ PVOID B,
+ PVOID C,
+ PVOID D)
+{
+ UNIMPLEMENTED;
+}
+
+
+VOID
+WINSTAAPI _WinStationGetApplicationInfo(PVOID A,
+ PVOID B,
+ PVOID C,
+ PVOID D)
+{
+ UNIMPLEMENTED;
+}
+
Propchange: trunk/reactos/dll/win32/winsta/query.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/dll/win32/winsta/security.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/winsta/security.…
==============================================================================
--- trunk/reactos/dll/win32/winsta/security.c (added)
+++ trunk/reactos/dll/win32/winsta/security.c [iso-8859-1] Fri Dec 12 12:26:42 2008
@@ -1,0 +1,133 @@
+/*
+ * PROJECT: ReactOS winsta.dll
+ * FILE: lib/winsta/security.c
+ * PURPOSE: WinStation
+ * PROGRAMMER: Samuel Serapi?n
+ * NOTE: Not needed, just here for the show.
+ */
+#include <winsta.h>
+
+VOID
+WINSTAAPI ServerLicensingOpenA(PVOID A)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI ServerLicensingOpenW(PVOID A)
+{
+ UNIMPLEMENTED;
+}
+VOID
+WINSTAAPI ServerLicensingSetPolicy(PVOID A,
+ PVOID B,
+ PVOID C)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI ServerLicensingClose(PVOID A)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI ServerLicensingDeactivateCurrentPolicy(PVOID A)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI ServerLicensingFreePolicyInformation(PVOID A)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI ServerLicensingGetAvailablePolicyIds(PVOID A,
+ PVOID B,
+ PVOID C)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI ServerLicensingGetPolicy(PVOID A,
+ PVOID B)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI ServerLicensingGetPolicyInformationA(PVOID A,
+ PVOID B,
+ PVOID C,
+ PVOID D)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI ServerLicensingGetPolicyInformationW(PVOID A,
+ PVOID B,
+ PVOID C,
+ PVOID D)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI ServerLicensingLoadPolicy(PVOID A,
+ PVOID B)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI ServerLicensingUnloadPolicy(PVOID A,
+ PVOID B)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationActivateLicense(PVOID A,
+ PVOID B,
+ PVOID C,
+ PVOID D)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationGenerateLicense(PVOID A,
+ PVOID B,
+ PVOID C,
+ PVOID D)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationRemoveLicense(PVOID A,
+ PVOID B,
+ PVOID C)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationInstallLicense(PVOID A,
+ PVOID B,
+ PVOID C)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationGetMachinePolicy(PVOID A,
+ PVOID B)
+{
+ UNIMPLEMENTED;
+}
Propchange: trunk/reactos/dll/win32/winsta/security.c
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/reactos/dll/win32/winsta/server.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/winsta/server.c?…
==============================================================================
--- trunk/reactos/dll/win32/winsta/server.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/winsta/server.c [iso-8859-1] Fri Dec 12 12:26:42 2008
@@ -1,21 +1,94 @@
-/* $Id$ */
-#include <windows.h>
-#include "winsta.h"
+/*
+ * PROJECT: ReactOS winsta.dll
+ * FILE: lib/winsta/server.c
+ * PURPOSE: WinStation
+ * PROGRAMMER: Samuel Serapi?n
+ *
+ */
-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)
+#include <winsta.h>
+
+VOID
+WINSTAAPI WinStationOpenServerA(PVOID A)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationOpenServerW(PVOID A)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationCloseServer(PVOID A,
+ PVOID B,
+ PVOID C,
+ PVOID D)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI ServerGetInternetConnectorStatus(PVOID A,
+ PVOID B,
+ PVOID C)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI ServerSetInternetConnectorStatus(PVOID A,
+ PVOID B,
+ PVOID C)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI ServerQueryInetConnectorInformationA(PVOID A,
+ PVOID B,
+ PVOID C,
+ PVOID D)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI ServerQueryInetConnectorInformationW(PVOID A,
+ PVOID B,
+ PVOID C,
+ PVOID D)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationServerPing(PVOID A)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationGetTermSrvCountersValue(PVOID A,
+ PVOID B,
+ PVOID C)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI _WinStationShadowTarget(PVOID A,
+ PVOID B,
+ PVOID C,
+ PVOID D,
+ PVOID E,
+ PVOID F,
+ PVOID G,
+ PVOID H,
+ PVOID I,
+ PVOID J)
+{
+ UNIMPLEMENTED;
+}
/* EOF */
Modified: trunk/reactos/dll/win32/winsta/winsta.def
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/winsta/winsta.de…
==============================================================================
--- trunk/reactos/dll/win32/winsta/winsta.def [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/winsta/winsta.def [iso-8859-1] Fri Dec 12 12:26:42 2008
@@ -1,100 +1,123 @@
-; $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
+LogonIdFromWinStationNameA@12
+LogonIdFromWinStationNameW@12
+RemoteAssistancePrepareSystemRestore@4
+ServerGetInternetConnectorStatus@12
+ServerLicensingClose@4
+ServerLicensingDeactivateCurrentPolicy@4
+ServerLicensingFreePolicyInformation@4
+ServerLicensingGetAvailablePolicyIds@12
+ServerLicensingGetPolicy@8
+ServerLicensingGetPolicyInformationA@16
+ServerLicensingGetPolicyInformationW@16
+ServerLicensingLoadPolicy@8
+ServerLicensingOpenA@4
+ServerLicensingOpenW@4
+ServerLicensingSetPolicy@12
+ServerLicensingUnloadPolicy@8
+ServerQueryInetConnectorInformationA@16
+ServerQueryInetConnectorInformationW@16
+ServerSetInternetConnectorStatus@12
+WinStationActivateLicense@16
+WinStationAutoReconnect@4
+WinStationBroadcastSystemMessage@40
+WinStationCheckAccess@12
+WinStationCheckLoopBack@16
+WinStationCloseServer@16
+WinStationConnectA@4
+WinStationConnectCallback@20
+WinStationConnectEx@8
+WinStationConnectW@20
+WinStationDisconnect@12
+WinStationDynVirtualChanRead@20
+WinStationDynVirtualChanWrite@16
+WinStationEnumerateA@12
+WinStationEnumerateLicenses@12
+WinStationEnumerateProcesses@8
+WinStationEnumerateW@12
+WinStationEnumerate_IndexedA@20
+WinStationEnumerate_IndexedW@20
+WinStationFreeGAPMemory@12
+WinStationFreeMemory@4
+WinStationFreeUserCertificates@4
+WinStationFreeUserCredentials@4
+WinStationGenerateLicense@16
+WinStationGetAllProcesses@16
+WinStationGetConnectionProperty@12
+WinStationGetInitialApplication@20
+WinStationGetLanAdapterNameA@24
+WinStationGetLanAdapterNameW@24
+WinStationGetLoggedOnCount@8
+WinStationGetMachinePolicy@8
+WinStationGetProcessSid@24
+WinStationGetTermSrvCountersValue@12
+WinStationGetUserCertificates@4
+WinStationGetUserCredentials@4
+WinStationGetUserProfile@16
+WinStationInstallLicense@12
+WinStationIsHelpAssistantSession@8
+WinStationIsSessionPermitted@0
+WinStationNameFromLogonIdA@12
+WinStationNameFromLogonIdW@12
+WinStationNtsdDebug@20
+WinStationOpenServerA@4
+WinStationOpenServerW@4
+WinStationQueryAllowConcurrentConnections@0
+WinStationQueryEnforcementCore@24
+WinStationQueryInformationA@24
+WinStationQueryInformationW@24
+WinStationQueryLicense@12
+WinStationQueryLogonCredentialsW@4
+WinStationQueryUpdateRequired@8
+WinStationRegisterConsoleNotification@12
+WinStationRegisterConsoleNotificationEx@16
+WinStationRegisterNotificationEvent@16
+WinStationRemoveLicense@12
+WinStationRenameA@12
+WinStationRenameW@12
+WinStationRequestSessionsList@12
+WinStationReset@12
+WinStationSendMessageA@40
+WinStationSendMessageW@40
+WinStationSendWindowMessage@32
+WinStationServerPing@4
+WinStationSetInformationA@20
+WinStationSetInformationW@20
+WinStationSetPoolCount@12
+WinStationShadow@20
+WinStationShadowStop@12
+WinStationShutdownSystem@8
+WinStationSwitchToServicesSession@0
+WinStationSystemShutdownStarted@0
+WinStationSystemShutdownWait@8
+WinStationTerminateProcess@12
+WinStationUnRegisterConsoleNotification@8
+WinStationUnRegisterNotificationEvent@4
+WinStationUserLoginAccessCheck@16
+WinStationVirtualOpen@12
+WinStationVirtualOpenEx@16
+WinStationWaitSystemEvent@12
+_NWLogonQueryAdmin@12
+_NWLogonSetAdmin@12
+_WinStationAnnoyancePopup@8
+_WinStationBeepOpen@12
+_WinStationBreakPoint@12
+_WinStationCallback@12
+_WinStationCheckForApplicationName@48
+_WinStationFUSCanRemoteUserDisconnect@12
+_WinStationGetApplicationInfo@16
_WinStationNotifyDisconnectPipe@0
_WinStationNotifyLogoff@0
-_WinStationNotifyLogon@0
-_WinStationNotifyNewSession@0
-_WinStationReInitializeSecurity@0
-_WinStationReadRegistry@0
-_WinStationShadowTarget@0
-_WinStationShadowTargetSetup@0
-_WinStationUpdateClientCachedCredentials@0
-_WinStationUpdateSettings@0
-_WinStationUpdateUserConfig@0
+_WinStationNotifyLogon@32
+_WinStationNotifyNewSession@8
+_WinStationReInitializeSecurity@4
+_WinStationReadRegistry@4
+_WinStationSessionInitialized@0
+_WinStationShadowTarget@40
+_WinStationShadowTargetSetup@8
+_WinStationUpdateClientCachedCredentials@28
+_WinStationUpdateSettings@12
+_WinStationUpdateUserConfig@4
_WinStationWaitForConnect@0
; EOF
Modified: trunk/reactos/dll/win32/winsta/winsta.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/winsta/winsta.h?…
==============================================================================
--- trunk/reactos/dll/win32/winsta/winsta.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/winsta/winsta.h [iso-8859-1] Fri Dec 12 12:26:42 2008
@@ -1,7 +1,29 @@
-#if !defined(_WINSTA_H)
+/*
+ * PROJECT: ReactOS winsta.dll
+ * FILE: dll/win32/winsta/winsta.h
+ * PURPOSE: WinStation
+ * PROGRAMMER: Aleksey Bragin
+ * NOTES: This file contains exported functions relevant to
+ * userinit, winlogon, lsass and friends.
+ */
+
+#ifndef _WINSTA_H
#define _WINSTA_H
-#define WINSTASTUB(n) VOID WINAPI n (VOID) { }
+/* Default header set */
+#include <stdarg.h>
+#include <time.h>
+
+#include "windef.h"
+#include "winbase.h"
+#include "winternl.h"
+
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(winsta);
+
+/* WinSta calling convention */
+#define WINSTAAPI WINAPI
#endif /* !def _WINSTA_H */
Modified: trunk/reactos/dll/win32/winsta/winsta.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/winsta/winsta.rb…
==============================================================================
--- trunk/reactos/dll/win32/winsta/winsta.rbuild [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/winsta/winsta.rbuild [iso-8859-1] Fri Dec 12 12:26:42 2008
@@ -1,11 +1,15 @@
<module name="winsta" type="win32dll"
baseaddress="${BASEADDRESS_WINSTA}" installbase="system32"
installname="winsta.dll">
<importlibrary definition="winsta.def" />
<include base="winsta">include</include>
- <define name="_DISABLE_TIDENTS" />
+ <library>wine</library>
+ <library>kernel32</library>
<library>ntdll</library>
<pch>winsta.h</pch>
+ <file>logon.c</file>
<file>main.c</file>
<file>misc.c</file>
+ <file>query.c</file>
+ <file>security.c</file>
<file>server.c</file>
<file>ws.c</file>
<file>winsta.rc</file>
Modified: trunk/reactos/dll/win32/winsta/ws.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/winsta/ws.c?rev=…
==============================================================================
--- trunk/reactos/dll/win32/winsta/ws.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/winsta/ws.c [iso-8859-1] Fri Dec 12 12:26:42 2008
@@ -1,80 +1,468 @@
-/* $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)
+/*
+ * PROJECT: ReactOS winsta.dll
+ * FILE: lib/winsta/ws.c
+ * PURPOSE: WinStation
+ * PROGRAMMER: Samuel Serapi?n
+ *
+ */
+#include <winsta.h>
+
+VOID
+WINSTAAPI WinStationFreeMemory(PVOID A)
+{
+ FIXME("WinStationFreeMemory %p not freed!\n",A);
+}
+
+
+VOID
+WINSTAAPI WinStationAutoReconnect(PVOID A)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationBroadcastSystemMessage(PVOID A,
+ PVOID B,
+ PVOID C,
+ PVOID D,
+ PVOID E,
+ PVOID F,
+ PVOID G,
+ PVOID H,
+ PVOID I,
+ PVOID J)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationCheckAccess(PVOID A,
+ PVOID B,
+ PVOID C)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationCheckLoopBack(PVOID A,
+ PVOID B,
+ PVOID C,
+ PVOID D)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationConnectA(PVOID A)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+CALLBACK WinStationConnectCallback(PVOID A,
+ PVOID B,
+ PVOID C,
+ PVOID D,
+ PVOID E)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationConnectEx(PVOID A,
+ PVOID B)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationConnectW(PVOID A,
+ PVOID B,
+ PVOID C,
+ PVOID D,
+ PVOID E)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationFreeGAPMemory(PVOID A,
+ PVOID B,
+ PVOID C)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationGetProcessSid(PVOID A,
+ PVOID B,
+ PVOID C,
+ PVOID D,
+ PVOID E,
+ PVOID F,
+ PVOID G)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationIsHelpAssistantSession(PVOID A,
+ PVOID B)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationNtsdDebug(PVOID A,
+ PVOID B,
+ PVOID C,
+ PVOID D,
+ PVOID E)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationRenameA(PVOID A,
+ PVOID B,
+ PVOID C)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationRenameW(PVOID A,
+ PVOID B,
+ PVOID C)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationSendMessageA(PVOID A,
+ PVOID B,
+ PVOID C,
+ PVOID D,
+ PVOID E,
+ PVOID F,
+ PVOID G,
+ PVOID H,
+ PVOID I,
+ PVOID J)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationSendMessageW(PVOID A,
+ PVOID B,
+ PVOID C,
+ PVOID D,
+ PVOID E,
+ PVOID F,
+ PVOID G,
+ PVOID H,
+ PVOID I,
+ PVOID J)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationSendWindowMessage(PVOID A,
+ PVOID B,
+ PVOID C,
+ PVOID D,
+ PVOID E,
+ PVOID F,
+ PVOID G,
+ PVOID H)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationSetInformationA(PVOID A,
+ PVOID B,
+ PVOID C,
+ PVOID D,
+ PVOID E)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationSetInformationW(PVOID A,
+ PVOID B,
+ PVOID C,
+ PVOID D,
+ PVOID E)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationSetPoolCount(PVOID A,
+ PVOID B,
+ PVOID C)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationShadow(PVOID A,
+ PVOID B,
+ PVOID C,
+ PVOID D,
+ PVOID E)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationShadowStop(PVOID A,
+ PVOID B,
+ PVOID C)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationShutdownSystem(PVOID A,
+ PVOID B)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationSystemShutdownStarted()
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationSystemShutdownWait(PVOID A,
+ PVOID B)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationTerminateProcess(PVOID A,
+ PVOID B,
+ PVOID C)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationUnRegisterConsoleNotification(PVOID A,
+ PVOID B)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationVirtualOpen(PVOID A,
+ PVOID B,
+ PVOID C)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationVirtualOpenEx(PVOID A,
+ PVOID B,
+ PVOID C,
+ PVOID D)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationWaitSystemEvent(PVOID A,
+ PVOID B,
+ PVOID C)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationDynVirtualChanRead(PVOID A,
+ PVOID B,
+ PVOID C,
+ PVOID D,
+ PVOID E)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationDynVirtualChanWrite(PVOID A,
+ PVOID B,
+ PVOID C,
+ PVOID D)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationRegisterConsoleNotificationEx(PVOID A,
+ PVOID B,
+ PVOID C,
+ PVOID D)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationRegisterConsoleNotification(PVOID A,
+ PVOID B,
+ PVOID C)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationRegisterNotificationEvent(PVOID A,
+ PVOID B,
+ PVOID C,
+ PVOID D)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationUnRegisterNotificationEvent(PVOID A)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI WinStationSwitchToServicesSession()
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI _WinStationAnnoyancePopup(PVOID A,
+ PVOID B)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI _WinStationBeepOpen(PVOID A,
+ PVOID B,
+ PVOID C)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI _WinStationBreakPoint(PVOID A,
+ PVOID B,
+ PVOID C)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI _WinStationSessionInitialized()
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+CALLBACK _WinStationCallback(PVOID A,
+ PVOID B,
+ PVOID C)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI _WinStationCheckForApplicationName(PVOID A,
+ PVOID B,
+ PVOID C,
+ PVOID D,
+ PVOID E,
+ PVOID F,
+ PVOID G,
+ PVOID H,
+ PVOID I,
+ PVOID J,
+ PVOID K,
+ PVOID M)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI _WinStationFUSCanRemoteUserDisconnect(PVOID A,
+ PVOID B,
+ PVOID C)
+{
+ UNIMPLEMENTED;
+}
+
+
+VOID
+WINSTAAPI _WinStationNotifyDisconnectPipe()
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI _WinStationNotifyNewSession(PVOID A,
+ PVOID B)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI _WinStationReInitializeSecurity(PVOID A)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI _WinStationReadRegistry(PVOID A)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI _WinStationShadowTargetSetup(PVOID A,
+ PVOID B)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI _WinStationUpdateSettings(PVOID A,
+ PVOID B,
+ PVOID C)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI _WinStationUpdateUserConfig(PVOID A)
+{
+ UNIMPLEMENTED;
+}
+
+VOID
+WINSTAAPI _WinStationUpdateClientCachedCredentials(PVOID A,
+ PVOID B,
+ PVOID C,
+ PVOID D,
+ PVOID E,
+ PVOID F,
+ PVOID G)
+{
+ UNIMPLEMENTED;
+}
+
/* EOF */