Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
20e23d8d
Commit
20e23d8d
authored
Apr 15, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Apr 15, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some more Windows Terminal Server API definitions.
parent
b5ffb7f2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
53 additions
and
0 deletions
+53
-0
wtsapi32.h
include/wtsapi32.h
+53
-0
No files found.
include/wtsapi32.h
View file @
20e23d8d
...
@@ -59,6 +59,27 @@ typedef enum _WTS_CONNECTSTATE_CLASS
...
@@ -59,6 +59,27 @@ typedef enum _WTS_CONNECTSTATE_CLASS
WTSInit
WTSInit
}
WTS_CONNECTSTATE_CLASS
;
}
WTS_CONNECTSTATE_CLASS
;
typedef
enum
_WTS_CONFIG_CLASS
{
WTSUserConfigInitialProgram
,
WTSUserConfigWorkingDirectory
,
WTSUserConfigInheritInitialProgram
,
WTSUserConfigAllowLogonTerminalServer
,
WTSUserConfigTimeoutSettingsConnections
,
WTSUserConfigTimeoutSettingsDisconnections
,
WTSUserConfigTimeoutSettingsIdle
,
WTSUserConfigDeviceClientDrives
,
WTSUserConfigDeviceClientPrinters
,
WTSUserConfigDeviceClientDefaultPrinter
,
WTSUserConfigBrokenTimeoutSettings
,
WTSUserConfigModemCallbackSettings
,
WTSUserConfigModemCallbackPhoneNumber
,
WTSUserConfigShadowSettings
,
WTSUserConfigTerminalServerProfilePath
,
WTSUserConfigTerminalServerHomeDirectory
,
WTSUserConfigfTerminalServerRemoteHomeDir
}
WTS_CONFIG_CLASS
;
typedef
struct
_WTS_PROCESS_INFOA
typedef
struct
_WTS_PROCESS_INFOA
{
{
DWORD
SessionId
;
DWORD
SessionId
;
...
@@ -75,6 +96,9 @@ typedef struct _WTS_PROCESS_INFOW
...
@@ -75,6 +96,9 @@ typedef struct _WTS_PROCESS_INFOW
PSID
pUserSid
;
PSID
pUserSid
;
}
WTS_PROCESS_INFOW
,
*
PWTS_PROCESS_INFOW
;
}
WTS_PROCESS_INFOW
,
*
PWTS_PROCESS_INFOW
;
DECL_WINELIB_TYPE_AW
(
WTS_PROCESS_INFO
)
DECL_WINELIB_TYPE_AW
(
PWTS_PROCESS_INFO
)
typedef
struct
_WTS_SESSION_INFOA
typedef
struct
_WTS_SESSION_INFOA
{
{
DWORD
SessionId
;
DWORD
SessionId
;
...
@@ -89,17 +113,46 @@ typedef struct _WTS_SESSION_INFOW
...
@@ -89,17 +113,46 @@ typedef struct _WTS_SESSION_INFOW
WTS_CONNECTSTATE_CLASS
State
;
WTS_CONNECTSTATE_CLASS
State
;
}
WTS_SESSION_INFOW
,
*
PWTS_SESSION_INFOW
;
}
WTS_SESSION_INFOW
,
*
PWTS_SESSION_INFOW
;
DECL_WINELIB_TYPE_AW
(
WTS_SESSION_INFO
)
DECL_WINELIB_TYPE_AW
(
PWTS_SESSION_INFO
)
typedef
struct
_WTS_SERVER_INFOA
{
LPSTR
pServerName
;
}
WTS_SERVER_INFOA
,
*
PWTS_SERVER_INFOA
;
typedef
struct
_WTS_SERVER_INFOW
{
LPWSTR
pServerName
;
}
WTS_SERVER_INFOW
,
*
PWTS_SERVER_INFOW
;
DECL_WINELIB_TYPE_AW
(
WTS_SERVER_INFO
)
DECL_WINELIB_TYPE_AW
(
PWTS_SERVER_INFO
)
void
WINAPI
WTSCloseServer
(
HANDLE
);
void
WINAPI
WTSCloseServer
(
HANDLE
);
BOOL
WINAPI
WTSDisconnectSession
(
HANDLE
,
DWORD
,
BOOL
);
BOOL
WINAPI
WTSDisconnectSession
(
HANDLE
,
DWORD
,
BOOL
);
BOOL
WINAPI
WTSEnumerateProcessesA
(
HANDLE
,
DWORD
,
DWORD
,
PWTS_PROCESS_INFOA
*
,
DWORD
*
);
BOOL
WINAPI
WTSEnumerateProcessesA
(
HANDLE
,
DWORD
,
DWORD
,
PWTS_PROCESS_INFOA
*
,
DWORD
*
);
BOOL
WINAPI
WTSEnumerateProcessesW
(
HANDLE
,
DWORD
,
DWORD
,
PWTS_PROCESS_INFOW
*
,
DWORD
*
);
BOOL
WINAPI
WTSEnumerateProcessesW
(
HANDLE
,
DWORD
,
DWORD
,
PWTS_PROCESS_INFOW
*
,
DWORD
*
);
#define WTSEnumerateProcesses WINELIB_NAME_AW(WTSEnumerateProcesses)
#define WTSEnumerateProcesses WINELIB_NAME_AW(WTSEnumerateProcesses)
BOOL
WINAPI
WTSEnumerateServersA
(
LPSTR
,
DWORD
,
DWORD
,
PWTS_SERVER_INFOA
*
,
DWORD
*
);
BOOL
WINAPI
WTSEnumerateServersW
(
LPWSTR
,
DWORD
,
DWORD
,
PWTS_SERVER_INFOW
*
,
DWORD
*
);
#define WTSEnumerateServers WINELIB_NAME_AW(WTSEnumerateServers)
BOOL
WINAPI
WTSEnumerateSessionsA
(
HANDLE
,
DWORD
,
DWORD
,
PWTS_SESSION_INFOA
*
,
DWORD
*
);
BOOL
WINAPI
WTSEnumerateSessionsA
(
HANDLE
,
DWORD
,
DWORD
,
PWTS_SESSION_INFOA
*
,
DWORD
*
);
BOOL
WINAPI
WTSEnumerateSessionsW
(
HANDLE
,
DWORD
,
DWORD
,
PWTS_SESSION_INFOW
*
,
DWORD
*
);
BOOL
WINAPI
WTSEnumerateSessionsW
(
HANDLE
,
DWORD
,
DWORD
,
PWTS_SESSION_INFOW
*
,
DWORD
*
);
#define WTSEnumerateSessions WINELIB_NAME_AW(WTSEnumerateSessions)
#define WTSEnumerateSessions WINELIB_NAME_AW(WTSEnumerateSessions)
HANDLE
WINAPI
WTSOpenServerA
(
LPSTR
);
HANDLE
WINAPI
WTSOpenServerW
(
LPWSTR
);
#define WTSOpenServer WINELIB_NAME_AW(WTSOpenServer)
BOOL
WINAPI
WTSQuerySessionInformationA
(
HANDLE
,
DWORD
,
WTS_INFO_CLASS
,
LPSTR
*
,
DWORD
*
);
BOOL
WINAPI
WTSQuerySessionInformationA
(
HANDLE
,
DWORD
,
WTS_INFO_CLASS
,
LPSTR
*
,
DWORD
*
);
BOOL
WINAPI
WTSQuerySessionInformationW
(
HANDLE
,
DWORD
,
WTS_INFO_CLASS
,
LPWSTR
*
,
DWORD
*
);
BOOL
WINAPI
WTSQuerySessionInformationW
(
HANDLE
,
DWORD
,
WTS_INFO_CLASS
,
LPWSTR
*
,
DWORD
*
);
#define WTSQuerySessionInformation WINELIB_NAME_AW(WTSQuerySessionInformation)
#define WTSQuerySessionInformation WINELIB_NAME_AW(WTSQuerySessionInformation)
BOOL
WINAPI
WTSQueryUserConfigA
(
LPSTR
,
LPSTR
,
WTS_CONFIG_CLASS
,
LPSTR
*
,
DWORD
*
);
BOOL
WINAPI
WTSQueryUserConfigW
(
LPWSTR
,
LPWSTR
,
WTS_CONFIG_CLASS
,
LPWSTR
*
,
DWORD
*
);
#define WTSQueryUserConfig WINELIB_NAME_AW(WTSQueryUserConfig)
BOOL
WINAPI
WTSQueryUserToken
(
ULONG
,
PHANDLE
);
BOOL
WINAPI
WTSRegisterSessionNotification
(
HWND
,
DWORD
);
BOOL
WINAPI
WTSTerminateProcess
(
HANDLE
,
DWORD
,
DWORD
);
BOOL
WINAPI
WTSUnRegisterSessionNotification
(
HWND
);
BOOL
WINAPI
WTSWaitSystemEvent
(
HANDLE
,
DWORD
,
DWORD
*
);
BOOL
WINAPI
WTSWaitSystemEvent
(
HANDLE
,
DWORD
,
DWORD
*
);
#ifdef __cplusplus
#ifdef __cplusplus
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment