3 uuid(AF586AAE-B62A-420
E-B796-294E7EE64C70),
5 uuid(8C11EFA1-92C3-11D1-BC1E-00C04FA31489),
11 importlib(
"stdole32.tlb");
81 [
uuid(336D5562-EFA8-482
E-8CB3-C5C0FC7A7DB6)]
109#ifdef MSTSCLIB_REDIST_
110 uuid(327BB5CD-834
E-4400-AEF2-B30E15E5D682),
112 uuid(8C11EFAE-92C3-11D1-BC1E-00C04FA31489),
126 [
id(0x00000004), propget]
HRESULT DisconnectedText([
out, retval]
BSTR * pDisconnectedText);
128 [
id(0x00000005), propget]
HRESULT ConnectingText([
out, retval]
BSTR * pConnectingText);
131 [
id(0x0000000c), propget]
HRESULT DesktopWidth([
out, retval]
long * pVal);
133 [
id(0x0000000d), propget]
HRESULT DesktopHeight([
out, retval]
long * pVal);
135 [
id(0x00000010), propget]
HRESULT StartConnected([
out, retval]
long * pfStartConnected);
152 uuid(92B4A539-7115-4B7C-A5A9-E5D9EFC2780A),
159 [
id(0x00000064), propget]
HRESULT ColorDepth([
out, retval]
long * pcolorDepth);
171 uuid(E7E17DC4-3B71-4BA7-A8E6-281FFADCA28F),
179 [
id(0x000000c9), propget]
HRESULT ConnectedStatusText([
out, retval]
BSTR * pConnectedStatusText);
183 uuid(91B7CBC5-A72E-4FA0-9300-D647D7E897FF),
193 uuid(095E0738-D97D-488
B-B9F6-DD0E8D66C0DE),
202 [
uuid(C1E6743A-41C1-4A74-832
A-0DD06C1C7A0E)]
207 [propget]
HRESULT PortablePassword([
out, retval]
BSTR * pPortablePass);
209 [propget]
HRESULT PortableSalt([
out, retval]
BSTR * pPortableSalt);
211 [propget]
HRESULT BinaryPassword([
out, retval]
BSTR * pBinaryPassword);
217 [
uuid(2F079C4C-87B2-4AFD-97AB-20CDB43038AE)]
224 [
uuid(17A5E535-4072-4FA4-AF32-C8D0D47345E9)]
228 [propget]
HRESULT UIParentWindowHandle([
out, retval]
HWND * phwndUIParentWindowHandle);
232 uuid(809945
CC-4B3B-4A92-A6B0-DBF9B5F2EF2D),
241 [
id(0x0000007a), propget]
HRESULT BitmapPeristence([
out, retval]
long * pbitmapPeristence);
243 [
id(0x000000a1), propget]
HRESULT allowBackgroundInput([
out, retval]
long * pallowBackgroundInput);
249 [
id(0x000000ad), propget]
HRESULT ContainerHandledFullScreen([
out, retval]
long * pContainerHandledFullScreen);
251 [
id(0x000000ae), propget]
HRESULT DisableRdpdr([
out, retval]
long * pDisableRdpdr);
255 uuid(3C65B4AB-12B3-465
B-ACD4-B8DAD3BFF9E2),
262 [
id(0x00000065), propget]
HRESULT SmoothScroll([
out, retval]
long * psmoothScroll);
264 [
id(0x00000066), propget]
HRESULT AcceleratorPassthrough([
out, retval]
long * pacceleratorPassthrough);
266 [
id(0x00000067), propget]
HRESULT ShadowBitmap([
out, retval]
long * pshadowBitmap);
268 [
id(0x00000068), propget]
HRESULT TransportType([
out, retval]
long * ptransportType);
270 [
id(0x00000069), propget]
HRESULT SasSequence([
out, retval]
long * psasSequence);
272 [
id(0x0000006a), propget]
HRESULT EncryptionEnabled([
out, retval]
long * pencryptionEnabled);
274 [
id(0x0000006b), propget]
HRESULT DedicatedTerminal([
out, retval]
long * pdedicatedTerminal);
276 [
id(0x0000006c), propget]
HRESULT RDPPort([
out, retval]
long * prdpPort);
278 [
id(0x0000006d), propget]
HRESULT EnableMouse([
out, retval]
long * penableMouse);
280 [
id(0x0000006e), propget]
HRESULT DisableCtrlAltDel([
out, retval]
long * pdisableCtrlAltDel);
282 [
id(0x0000006f), propget]
HRESULT EnableWindowsKey([
out, retval]
long * penableWindowsKey);
284 [
id(0x00000070), propget]
HRESULT DoubleClickDetect([
out, retval]
long * pdoubleClickDetect);
286 [
id(0x00000071), propget]
HRESULT MaximizeShell([
out, retval]
long * pmaximizeShell);
288 [
id(0x00000072), propget]
HRESULT HotKeyFullScreen([
out, retval]
long * photKeyFullScreen);
290 [
id(0x00000073), propget]
HRESULT HotKeyCtrlEsc([
out, retval]
long * photKeyCtrlEsc);
292 [
id(0x00000074), propget]
HRESULT HotKeyAltEsc([
out, retval]
long * photKeyAltEsc);
294 [
id(0x00000075), propget]
HRESULT HotKeyAltTab([
out, retval]
long * photKeyAltTab);
296 [
id(0x00000076), propget]
HRESULT HotKeyAltShiftTab([
out, retval]
long * photKeyAltShiftTab);
298 [
id(0x00000077), propget]
HRESULT HotKeyAltSpace([
out, retval]
long * photKeyAltSpace);
300 [
id(0x00000078), propget]
HRESULT HotKeyCtrlAltDel([
out, retval]
long * photKeyCtrlAltDel);
302 [
id(0x0000007b), propget]
HRESULT orderDrawThreshold([
out, retval]
long * porderDrawThreshold);
304 [
id(0x0000007c), propget]
HRESULT BitmapCacheSize([
out, retval]
long * pbitmapCacheSize);
306 [
id(0x0000007d), propget]
HRESULT BitmapVirtualCacheSize([
out, retval]
long * pbitmapVirtualCacheSize);
308 [
id(0x000000af), propget]
HRESULT ScaleBitmapCachesByBPP([
out, retval]
long * pbScale);
310 [
id(0x0000007e), propget]
HRESULT NumBitmapCaches([
out, retval]
long * pnumBitmapCaches);
312 [
id(0x0000007f), propget]
HRESULT CachePersistenceActive([
out, retval]
long * pcachePersistenceActive);
315 [
id(0x0000009c), propget]
HRESULT brushSupportLevel([
out, retval]
long * pbrushSupportLevel);
317 [
id(0x0000009d), propget]
HRESULT minInputSendInterval([
out, retval]
long * pminInputSendInterval);
319 [
id(0x0000009e), propget]
HRESULT InputEventsAtOnce([
out, retval]
long * pinputEventsAtOnce);
321 [
id(0x0000009f), propget]
HRESULT maxEventCount([
out, retval]
long * pmaxEventCount);
323 [
id(0x000000a0), propget]
HRESULT keepAliveInterval([
out, retval]
long * pkeepAliveInterval);
325 [
id(0x000000a3), propget]
HRESULT shutdownTimeout([
out, retval]
long * pshutdownTimeout);
327 [
id(0x000000a4), propget]
HRESULT overallConnectionTimeout([
out, retval]
long * poverallConnectionTimeout);
329 [
id(0x000000a5), propget]
HRESULT singleConnectionTimeout([
out, retval]
long * psingleConnectionTimeout);
331 [
id(0x000000a6), propget]
HRESULT KeyboardType([
out, retval]
long * pkeyboardType);
333 [
id(0x000000a7), propget]
HRESULT KeyboardSubType([
out, retval]
long * pkeyboardSubType);
335 [
id(0x000000a8), propget]
HRESULT KeyboardFunctionKey([
out, retval]
long * pkeyboardFunctionKey);
337 [
id(0x000000a9), propget]
HRESULT WinceFixedPalette([
out, retval]
long * pwinceFixedPalette);
341 [
id(0x000000b6), propget]
HRESULT BitmapPersistence([
out, retval]
long * pbitmapPersistence);
343 [
id(0x000000b7), propget]
HRESULT MinutesToIdleTimeout([
out, retval]
long * pminutesToIdleTimeout);
347 [
id(0x000000b9), propget]
HRESULT RdpdrLocalPrintingDocName([
out, retval]
BSTR * pLocalPrintingDocName);
349 [
id(0x000000c9), propget]
HRESULT RdpdrClipCleanTempDirString([
out, retval]
BSTR * clipCleanTempDirString);
351 [
id(0x000000ca), propget]
HRESULT RdpdrClipPasteInfoString([
out, retval]
BSTR * clipPasteInfoString);
360 [
id(0x000000be), propget]
HRESULT LoadBalanceInfo([
out, retval]
BSTR * pLBInfo);
370 [
id(0x000000c3), propget]
HRESULT BitmapVirtualCache16BppSize([
out, retval]
long * pBitmapVirtualCache16BppSize);
372 [
id(0x000000c4), propget]
HRESULT BitmapVirtualCache24BppSize([
out, retval]
long * pBitmapVirtualCache24BppSize);
374 [
id(0x000000c8), propget]
HRESULT PerformanceFlags([
out, retval]
long * pDisableList);
381 uuid(9AC42117-2B76-4320-AA44-0E616AB8437B),
391 [
id(0x000000cf), propget]
HRESULT MaxReconnectAttempts([
out, retval]
long * pMaxReconnectAttempts);
395 uuid(19CD856B-C542-4C53-ACEE-F127E3BE1A59),
408 uuid(FBA7F64E-7345-4405-AE50-FA4A763DC0DE),
415 [
id(0x000000d4), propget]
HRESULT AuthenticationLevel([
out, retval]
unsigned int * puiAuthLevel);
419 uuid(C9D65442-A0F9-45B2-8F73-D61D2DB8CBB6),
426 [
id(0x00000001), propget]
HRESULT StartProgram([
out, retval]
BSTR * pStartProgram);
430 [
id(0x00000003), propget]
HRESULT FullScreen([
out, retval]
long * pfFullScreen);
434 uuid(605BEFCF-39C1-45
CC-A811-068FB7BE346D),
441 [
id(0x00000004), propget]
HRESULT KeyboardHookMode([
out, retval]
long * pkeyboardHookMode);
443 [
id(0x00000005), propget]
HRESULT AudioRedirectionMode([
out, retval]
long * pAudioRedirectionMode);
447 uuid(209D0EB9-6254-47B1-9033-A98DAE55BB27),
455 [
id(0x000000c8), propget]
HRESULT HatchBitmapPDU([
out, retval]
long * phatchBitmapPDU);
457 [
id(0x000000c9), propget]
HRESULT HatchSSBOrder([
out, retval]
long * phatchSSBOrder);
459 [
id(0x000000ca), propget]
HRESULT HatchMembltOrder([
out, retval]
long * phatchMembltOrder);
461 [
id(0x000000cb), propget]
HRESULT HatchIndexPDU([
out, retval]
long * phatchIndexPDU);
463 [
id(0x000000cc), propget]
HRESULT LabelMemblt([
out, retval]
long * plabelMemblt);
465 [
id(0x000000cd), propget]
HRESULT BitmapCacheMonitor([
out, retval]
long * pbitmapCacheMonitor);
467 [
id(0x000000ce), propget]
HRESULT MallocFailuresPercent([
out, retval]
long * pmallocFailuresPercent);
469 [
id(0x000000cf), propget]
HRESULT MallocHugeFailuresPercent([
out, retval]
long * pmallocHugeFailuresPercent);
471 [
id(0x000000d0), propget]
HRESULT NetThroughput([
out, retval]
long * NetThroughput);
473 [
id(0x000000d1), propget]
HRESULT CLXCmdLine([
out, retval]
BSTR * pCLXCmdLine);
479#ifdef MSTSCLIB_REDIST_
480 uuid(1FB464C8-09BB-4017-A2F5-EB742F04392F)
482 uuid(A41A4187-5A86-4E26-B40A-856F9035D9CB)
495#ifdef MSTSCLIB_REDIST_
496 uuid(791FA017-2DE3-492
E-ACC5-53C67A2B94D0)
498 uuid(7CACBD7B-0D99-468
F-AC33-22E495C0AFE5)
511#ifdef MSTSCLIB_REDIST_
512 uuid(9059F30F-4EB1-4BD2-9FDC-36F43A218F4A)
514 uuid(3523C2FB-4031-44E4-9A3B-F1E94986EE7F)
528#ifdef MSTSCLIB_REDIST_
529 uuid(7584C670-2274-4EFB-B00B-D6AABA6D3850)
531 uuid(ACE575FD-1FCF-4074-9401-EBAB990FA9DE)
545 [
uuid(6AE29350-321
B-42BE-BBE5-12FB5270C0DE)]
#define exDiscReasonLicenseInternal
#define exDiscReasonLicenseNoRemoteConnections
#define exDiscReasonLicenseNoLicenseServer
#define exDiscReasonNoInfo
#define exDiscReasonOutOfMemory
#define exDiscReasonServerLogonTimeout
#define exDiscReasonLicenseErrClientLicense
#define exDiscReasonServerIdleTimeout
#define exDiscReasonAPIInitiatedDisconnect
#define exDiscReasonLicenseErrClientMsg
#define exDiscReasonLicenseClientEndedProtocol
#define exDiscReasonLicenseCantUpgradeLicense
#define exDiscReasonServerDeniedConnectionFips
#define exDiscReasonLicenseErrClientEncryption
#define exDiscReasonReplacedByOtherConnection
#define exDiscReasonLicenseCantFinishProtocol
#define exDiscReasonAPIInitiatedLogoff
#define exDiscReasonServerDeniedConnection
#define exDiscReasonLicenseNoLicense
#define exDiscReasonLicenseHwidDoesntMatchLicense
static const WCHAR version[]
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLint GLint GLsizei GLsizei height
GLint GLint GLsizei width
IMsRdpClientAdvancedSettings2 AdvancedSettings3
IMsRdpClientAdvancedSettings3 AdvancedSettings4
IMsRdpClientAdvancedSettings4 AdvancedSettings5
VARIANT_BOOL CanAutoReconnect
VARIANT_BOOL EnableAutoReconnect
long MaxReconnectAttempts
VARIANT_BOOL ConnectionBarShowMinimizeButton
VARIANT_BOOL ConnectionBarShowRestoreButton
BSTR RdpdrClipPasteInfoString
long CachePersistenceActive
VARIANT_BOOL RedirectSmartCards
BSTR PersistCacheDirectory
long ScaleBitmapCachesByBPP
VARIANT_BOOL DisplayConnectionBar
long BitmapVirtualCache24BppSize
long BitmapVirtualCache16BppSize
BSTR RdpdrLocalPrintingDocName
long minInputSendInterval
BSTR RdpdrClipCleanTempDirString
long singleConnectionTimeout
long MinutesToIdleTimeout
VARIANT_BOOL RedirectPrinters
long BitmapVirtualCacheSize
long AcceleratorPassthrough
VARIANT_BOOL ConnectToServerConsole
long overallConnectionTimeout
VARIANT_BOOL RedirectDrives
VARIANT_BOOL RedirectPorts
VARIANT_BOOL GrabFocusOnConnect
VARIANT ConnectWithEndpoint
VARIANT_BOOL PinConnectionBar
VARIANT_BOOL NotifyTSPublicKey
HWND UIParentWindowHandle
HRESULT SendKeys([in] long numKeys, [in] VARIANT_BOOL *pbArrayKeyUp, [in] long *plKeyData)
HRESULT NotifyRedirectDeviceChange([in] UINT_PTR wParam, [in] LONG_PTR lParam)
long AudioRedirectionMode
HRESULT SetVirtualChannelOptions([in] BSTR chanName, [in] long chanOptions)
ExtendedDisconnectReasonCode ExtendedDisconnectReason
HRESULT RequestClose([out, retval] ControlCloseStatus *pCloseStatus)
HRESULT GetVirtualChannelOptions([in] BSTR chanName, [out, retval] long *pChanOptions)
IMsRdpClientAdvancedSettings AdvancedSettings2
IMsRdpClientSecuredSettings SecuredSettings2
long allowBackgroundInput
long ContainerHandledFullScreen
void OnLeaveFullScreenMode()
void OnConfirmClose([out, retval] VARIANT_BOOL *pfAllowClose)
void OnDisconnected([in] long discReason)
void OnReceivedTSPublicKey([in] BSTR publicKey, [out, retval] VARIANT_BOOL *pfContinueLogon)
void OnFatalError([in] long errorCode)
void OnEnterFullScreenMode()
void OnChannelReceivedData([in] BSTR chanName, [in] BSTR data)
void OnAuthenticationWarningDismissed()
void OnRequestGoFullScreen()
void OnRemoteDesktopSizeChange([in] long width, [in] long height)
void OnRequestLeaveFullScreen()
void OnRequestContainerMinimize()
void OnAutoReconnecting([in] long disconnectReason, [in] long attemptCount, [out, retval] AutoReconnectContinueState *pArcContinueStatus)
void OnAuthenticationWarningDisplayed()
void OnIdleTimeoutNotification()
void OnWarning([in] long warningCode)
IMsTscAdvancedSettings AdvancedSettings
IMsTscSecuredSettings SecuredSettings
long SecuredSettingsEnabled
long VerticalScrollBarVisible
long HorizontalScrollBarVisible
HRESULT CreateVirtualChannels([in] BSTR newVal)
HRESULT SendOnVirtualChannel([in] BSTR chanName, [in] BSTR ChanData)
long MallocHugeFailuresPercent
long MallocFailuresPercent
static LRESULT Compress(CodecInfo *pi, ICCOMPRESS *lpic, DWORD dwSize)
@ autoReconnectContinueStop
@ autoReconnectContinueAutomatic
@ autoReconnectContinueManual
@ exDiscReasonProtocolRangeEnd
@ exDiscReasonProtocolRangeStart
enum __MIDL_IMsRdpClient_0001 ExtendedDisconnectReasonCode
enum __MIDL___MIDL_itf_mstsax_0275_0001 AutoReconnectContinueState
interface IMsTscAxEvents IMsTscAxEvents
enum __MIDL_IMsRdpClient_0002 ControlCloseStatus
@ controlCloseWaitForEvents
unsigned __int3264 UINT_PTR
enum MSTSCLib::__MIDL___MIDL_itf_mstsax_0275_0001 AutoReconnectContinueState
__MIDL___MIDL_itf_mstsax_0275_0001
unsigned __int3264 UINT_PTR
enum MSTSCLib::__MIDL_IMsRdpClient_0001 ExtendedDisconnectReasonCode
enum MSTSCLib::__MIDL_IMsRdpClient_0002 ControlCloseStatus
static void Server(int port)