mirror of
https://github.com/reactos/reactos.git
synced 2024-06-28 00:41:36 +00:00
[WTSAPI32][PSDK] Addendum to 27ed609a: Some of the WTS_INFO_CLASS values are NT6-SP1+
This commit is contained in:
parent
27ed609acd
commit
b9148b8c62
|
@ -372,7 +372,11 @@ BOOL WINAPI WTSQuerySessionInformationW(
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if (NTDDI_VERSION >= NTDDI_WS08)
|
||||||
if (WTSInfoClass > WTSIsRemoteSession)
|
if (WTSInfoClass > WTSIsRemoteSession)
|
||||||
|
#else
|
||||||
|
if (WTSInfoClass > WTSClientProtocolType)
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
SetLastError(ERROR_INVALID_PARAMETER);
|
SetLastError(ERROR_INVALID_PARAMETER);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
@ -447,6 +451,7 @@ BOOL WINAPI WTSQuerySessionInformationW(
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if (NTDDI_VERSION >= NTDDI_WS08)
|
||||||
case WTSIdleTime:
|
case WTSIdleTime:
|
||||||
case WTSLogonTime:
|
case WTSLogonTime:
|
||||||
case WTSIncomingBytes:
|
case WTSIncomingBytes:
|
||||||
|
@ -457,6 +462,7 @@ BOOL WINAPI WTSQuerySessionInformationW(
|
||||||
SetLastError(ERROR_NOT_SUPPORTED);
|
SetLastError(ERROR_NOT_SUPPORTED);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
#endif /* (NTDDI_VERSION >= NTDDI_WS08) */
|
||||||
|
|
||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
|
|
|
@ -59,6 +59,7 @@ typedef enum tagWTS_INFO_CLASS
|
||||||
WTSClientAddress,
|
WTSClientAddress,
|
||||||
WTSClientDisplay,
|
WTSClientDisplay,
|
||||||
WTSClientProtocolType,
|
WTSClientProtocolType,
|
||||||
|
#if (NTDDI_VERSION >= NTDDI_WS08)
|
||||||
WTSIdleTime,
|
WTSIdleTime,
|
||||||
WTSLogonTime,
|
WTSLogonTime,
|
||||||
WTSIncomingBytes,
|
WTSIncomingBytes,
|
||||||
|
@ -72,6 +73,7 @@ typedef enum tagWTS_INFO_CLASS
|
||||||
WTSValidationInfo,
|
WTSValidationInfo,
|
||||||
WTSSessionAddressV4,
|
WTSSessionAddressV4,
|
||||||
WTSIsRemoteSession
|
WTSIsRemoteSession
|
||||||
|
#endif /* (NTDDI_VERSION >= NTDDI_WS08) */
|
||||||
} WTS_INFO_CLASS;
|
} WTS_INFO_CLASS;
|
||||||
|
|
||||||
typedef enum _WTS_CONNECTSTATE_CLASS
|
typedef enum _WTS_CONNECTSTATE_CLASS
|
||||||
|
|
Loading…
Reference in a new issue