wtsapi: added handler for LogonUser and LogoffUser
This commit is contained in:
parent
5becf70fe9
commit
b302da2e92
@ -243,7 +243,9 @@ static WtsApiFunctionTable FreeRDP_WtsApiFunctionTable =
|
||||
FreeRDP_WTSEnableChildSessions, /* EnableChildSessions */
|
||||
FreeRDP_WTSIsChildSessionsEnabled, /* IsChildSessionsEnabled */
|
||||
FreeRDP_WTSGetChildSessionId, /* GetChildSessionId */
|
||||
FreeRDP_WTSGetActiveConsoleSessionId /* GetActiveConsoleSessionId */
|
||||
FreeRDP_WTSGetActiveConsoleSessionId, /* GetActiveConsoleSessionId */
|
||||
FreeRDP_WTSLogonUser,
|
||||
FreeRDP_WTSLogoffUser
|
||||
};
|
||||
|
||||
PWtsApiFunctionTable FreeRDP_InitWtsApi(void)
|
||||
|
@ -1375,3 +1375,12 @@ DWORD WINAPI FreeRDP_WTSGetActiveConsoleSessionId(void)
|
||||
{
|
||||
return 0xFFFFFFFF;
|
||||
}
|
||||
BOOL WINAPI FreeRDP_WTSLogoffUser(HANDLE hServer)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
BOOL WINAPI FreeRDP_WTSLogonUser(HANDLE hServer, LPCSTR username, LPCSTR password, LPCSTR domain)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
@ -173,4 +173,7 @@ BOOL CDECL FreeRDP_WTSGetChildSessionId(PULONG pSessionId);
|
||||
|
||||
DWORD WINAPI FreeRDP_WTSGetActiveConsoleSessionId(void);
|
||||
|
||||
BOOL WINAPI FreeRDP_WTSLogoffUser(HANDLE hServer);
|
||||
BOOL WINAPI FreeRDP_WTSLogonUser(HANDLE hServer, LPCSTR username, LPCSTR password, LPCSTR domain);
|
||||
|
||||
#endif /* FREERDP_CORE_SERVER_H */
|
||||
|
Loading…
Reference in New Issue
Block a user