ReactOS  0.4.13-dev-249-gcba1a2f
activex.cpp File Reference
#include "stdafx.h"
#include "mstsclib_h.h"
#include "mstsclib_redist_i.c"
#include "rdesktop/rdesktop.h"
#include "rdesktop/proto.h"
Include dependency graph for activex.cpp:

Go to the source code of this file.

Classes

struct  MSTSCLib::IMsTscAxEventsVtbl
 
struct  MSTSCLib::IMsTscAxVtbl
 
struct  MSTSCLib::IMsRdpClientVtbl
 
struct  MSTSCLib::IMsRdpClient2Vtbl
 
struct  MSTSCLib::IMsRdpClient3Vtbl
 
struct  MSTSCLib::IMsRdpClient4Vtbl
 
struct  MSTSCLib::IMsTscNonScriptableVtbl
 
struct  MSTSCLib::IMsRdpClientNonScriptableVtbl
 
struct  MSTSCLib::IMsRdpClientNonScriptable2Vtbl
 
struct  MSTSCLib::IMsTscAdvancedSettingsVtbl
 
struct  MSTSCLib::IMsRdpClientAdvancedSettingsVtbl
 
struct  MSTSCLib::IMsRdpClientAdvancedSettings2Vtbl
 
struct  MSTSCLib::IMsRdpClientAdvancedSettings3Vtbl
 
struct  MSTSCLib::IMsRdpClientAdvancedSettings4Vtbl
 
struct  MSTSCLib::IMsTscSecuredSettingsVtbl
 
struct  MSTSCLib::IMsRdpClientSecuredSettingsVtbl
 
struct  MSTSCLib::IMsTscDebugVtbl
 
struct  MSTSCLib_Redist::_IID
 
class  RdpClientUI
 
class  SEALED_
 
class  SEALED_::RdpClientInner
 
struct  SEALED_::EventArguments
 
struct  SEALED_::RedirectArguments
 
class  SEALED_::SEALED_
 
class  SEALED_::SEALED_
 
class  SEALED_::CEnumConnectionPoints
 
class  ClassFactory
 

Namespaces

 MSTSCLib
 
 MSTSCLib_Redist
 
 anonymous_namespace{activex.cpp}
 

Macros

#define SEALED_
 

Typedefs

typedef interface IMsTscAxEvents MSTSCLib::IMsTscAxEvents
 
typedef interface IMsTscAx MSTSCLib::IMsTscAx
 
typedef interface IMsRdpClient MSTSCLib::IMsRdpClient
 
typedef interface IMsRdpClient2 MSTSCLib::IMsRdpClient2
 
typedef interface IMsRdpClient3 MSTSCLib::IMsRdpClient3
 
typedef interface IMsRdpClient4 MSTSCLib::IMsRdpClient4
 
typedef interface IMsTscNonScriptable MSTSCLib::IMsTscNonScriptable
 
typedef interface IMsRdpClientNonScriptable MSTSCLib::IMsRdpClientNonScriptable
 
typedef interface IMsRdpClientNonScriptable2 MSTSCLib::IMsRdpClientNonScriptable2
 
typedef interface IMsTscAdvancedSettings MSTSCLib::IMsTscAdvancedSettings
 
typedef interface IMsRdpClientAdvancedSettings MSTSCLib::IMsRdpClientAdvancedSettings
 
typedef interface IMsRdpClientAdvancedSettings2 MSTSCLib::IMsRdpClientAdvancedSettings2
 
typedef interface IMsRdpClientAdvancedSettings3 MSTSCLib::IMsRdpClientAdvancedSettings3
 
typedef interface IMsRdpClientAdvancedSettings4 MSTSCLib::IMsRdpClientAdvancedSettings4
 
typedef interface IMsTscSecuredSettings MSTSCLib::IMsTscSecuredSettings
 
typedef interface IMsRdpClientSecuredSettings MSTSCLib::IMsRdpClientSecuredSettings
 
typedef interface IMsTscDebug MSTSCLib::IMsTscDebug
 
typedef struct MsTscAx MSTSCLib::MsTscAx
 
typedef struct MsRdpClient MSTSCLib::MsRdpClient
 
typedef struct MsRdpClient2 MSTSCLib::MsRdpClient2
 
typedef struct MsRdpClient3 MSTSCLib::MsRdpClient3
 
typedef struct MsRdpClient4 MSTSCLib::MsRdpClient4
 
typedef enum MSTSCLib::__MIDL___MIDL_itf_mstsax_0275_0001 MSTSCLib::AutoReconnectContinueState
 
typedef enum MSTSCLib::__MIDL_IMsRdpClient_0001 MSTSCLib::ExtendedDisconnectReasonCode
 
typedef enum MSTSCLib::__MIDL_IMsRdpClient_0002 MSTSCLib::ControlCloseStatus
 
typedef unsigned __int3264 MSTSCLib::UINT_PTR
 
typedef __int3264 MSTSCLib::LONG_PTR
 
typedef struct MSTSCLib::IMsTscAxEventsVtbl MSTSCLib::IMsTscAxEventsVtbl
 
typedef struct MSTSCLib::IMsTscAxVtbl MSTSCLib::IMsTscAxVtbl
 
typedef struct MSTSCLib::IMsRdpClientVtbl MSTSCLib::IMsRdpClientVtbl
 
typedef struct MSTSCLib::IMsRdpClient2Vtbl MSTSCLib::IMsRdpClient2Vtbl
 
typedef struct MSTSCLib::IMsRdpClient3Vtbl MSTSCLib::IMsRdpClient3Vtbl
 
typedef struct MSTSCLib::IMsRdpClient4Vtbl MSTSCLib::IMsRdpClient4Vtbl
 
typedef struct MSTSCLib::IMsTscNonScriptableVtbl MSTSCLib::IMsTscNonScriptableVtbl
 
typedef struct MSTSCLib::IMsRdpClientNonScriptableVtbl MSTSCLib::IMsRdpClientNonScriptableVtbl
 
typedef struct MSTSCLib::IMsRdpClientNonScriptable2Vtbl MSTSCLib::IMsRdpClientNonScriptable2Vtbl
 
typedef struct MSTSCLib::IMsTscAdvancedSettingsVtbl MSTSCLib::IMsTscAdvancedSettingsVtbl
 
typedef struct MSTSCLib::IMsRdpClientAdvancedSettingsVtbl MSTSCLib::IMsRdpClientAdvancedSettingsVtbl
 
typedef struct MSTSCLib::IMsRdpClientAdvancedSettings2Vtbl MSTSCLib::IMsRdpClientAdvancedSettings2Vtbl
 
typedef struct MSTSCLib::IMsRdpClientAdvancedSettings3Vtbl MSTSCLib::IMsRdpClientAdvancedSettings3Vtbl
 
typedef struct MSTSCLib::IMsRdpClientAdvancedSettings4Vtbl MSTSCLib::IMsRdpClientAdvancedSettings4Vtbl
 
typedef struct MSTSCLib::IMsTscSecuredSettingsVtbl MSTSCLib::IMsTscSecuredSettingsVtbl
 
typedef struct MSTSCLib::IMsRdpClientSecuredSettingsVtbl MSTSCLib::IMsRdpClientSecuredSettingsVtbl
 
typedef struct MSTSCLib::IMsTscDebugVtbl MSTSCLib::IMsTscDebugVtbl
 
typedef struct MSTSCLib_Redist::_IID MSTSCLib_Redist::IID
 
typedef IID MSTSCLib_Redist::CLSID
 

Enumerations

enum  MSTSCLib::__MIDL___MIDL_itf_mstsax_0275_0001 {
  MSTSCLib::autoReconnectContinueAutomatic = 0, MSTSCLib::autoReconnectContinueStop = 1, MSTSCLib::autoReconnectContinueManual = 2, MSTSCLib::autoReconnectContinueAutomatic = 0,
  MSTSCLib::autoReconnectContinueStop = 1, MSTSCLib::autoReconnectContinueManual = 2
}
 
enum  MSTSCLib::__MIDL_IMsRdpClient_0001 {
  MSTSCLib::exDiscReasonNoInfo = 0, MSTSCLib::exDiscReasonAPIInitiatedDisconnect = 1, MSTSCLib::exDiscReasonAPIInitiatedLogoff = 2, MSTSCLib::exDiscReasonServerIdleTimeout = 3,
  MSTSCLib::exDiscReasonServerLogonTimeout = 4, MSTSCLib::exDiscReasonReplacedByOtherConnection = 5, MSTSCLib::exDiscReasonOutOfMemory = 6, MSTSCLib::exDiscReasonServerDeniedConnection = 7,
  MSTSCLib::exDiscReasonServerDeniedConnectionFips = 8, MSTSCLib::exDiscReasonLicenseInternal = 256, MSTSCLib::exDiscReasonLicenseNoLicenseServer = 257, MSTSCLib::exDiscReasonLicenseNoLicense = 258,
  MSTSCLib::exDiscReasonLicenseErrClientMsg = 259, MSTSCLib::exDiscReasonLicenseHwidDoesntMatchLicense = 260, MSTSCLib::exDiscReasonLicenseErrClientLicense = 261, MSTSCLib::exDiscReasonLicenseCantFinishProtocol = 262,
  MSTSCLib::exDiscReasonLicenseClientEndedProtocol = 263, MSTSCLib::exDiscReasonLicenseErrClientEncryption = 264, MSTSCLib::exDiscReasonLicenseCantUpgradeLicense = 265, MSTSCLib::exDiscReasonLicenseNoRemoteConnections = 266,
  MSTSCLib::exDiscReasonProtocolRangeStart = 4096, MSTSCLib::exDiscReasonProtocolRangeEnd = 32767, MSTSCLib::exDiscReasonNoInfo = 0, MSTSCLib::exDiscReasonAPIInitiatedDisconnect = 1,
  MSTSCLib::exDiscReasonAPIInitiatedLogoff = 2, MSTSCLib::exDiscReasonServerIdleTimeout = 3, MSTSCLib::exDiscReasonServerLogonTimeout = 4, MSTSCLib::exDiscReasonReplacedByOtherConnection = 5,
  MSTSCLib::exDiscReasonOutOfMemory = 6, MSTSCLib::exDiscReasonServerDeniedConnection = 7, MSTSCLib::exDiscReasonServerDeniedConnectionFips = 8, MSTSCLib::exDiscReasonLicenseInternal = 256,
  MSTSCLib::exDiscReasonLicenseNoLicenseServer = 257, MSTSCLib::exDiscReasonLicenseNoLicense = 258, MSTSCLib::exDiscReasonLicenseErrClientMsg = 259, MSTSCLib::exDiscReasonLicenseHwidDoesntMatchLicense = 260,
  MSTSCLib::exDiscReasonLicenseErrClientLicense = 261, MSTSCLib::exDiscReasonLicenseCantFinishProtocol = 262, MSTSCLib::exDiscReasonLicenseClientEndedProtocol = 263, MSTSCLib::exDiscReasonLicenseErrClientEncryption = 264,
  MSTSCLib::exDiscReasonLicenseCantUpgradeLicense = 265, MSTSCLib::exDiscReasonLicenseNoRemoteConnections = 266, MSTSCLib::exDiscReasonProtocolRangeStart = 4096, MSTSCLib::exDiscReasonProtocolRangeEnd = 32767
}
 
enum  MSTSCLib::__MIDL_IMsRdpClient_0002 { MSTSCLib::controlCloseCanProceed = 0, MSTSCLib::controlCloseWaitForEvents = 1, MSTSCLib::controlCloseCanProceed = 0, MSTSCLib::controlCloseWaitForEvents = 1 }
 

Functions

HRESULT STDMETHODCALLTYPE MSTSCLib::IMsRdpClientAdvancedSettings_get_RedirectSmartCards_Proxy (IMsRdpClientAdvancedSettings *This, VARIANT_BOOL *pRedirectSmartCards)
 
void __RPC_STUB MSTSCLib::IMsRdpClientAdvancedSettings_get_RedirectSmartCards_Stub (IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase)
 
HRESULT STDMETHODCALLTYPE MSTSCLib::IMsRdpClientAdvancedSettings_put_BitmapVirtualCache16BppSize_Proxy (IMsRdpClientAdvancedSettings *This, long pBitmapVirtualCache16BppSize)
 
void __RPC_STUB MSTSCLib::IMsRdpClientAdvancedSettings_put_BitmapVirtualCache16BppSize_Stub (IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase)
 
HRESULT STDMETHODCALLTYPE MSTSCLib::IMsRdpClientAdvancedSettings_get_BitmapVirtualCache16BppSize_Proxy (IMsRdpClientAdvancedSettings *This, long *pBitmapVirtualCache16BppSize)
 
void __RPC_STUB MSTSCLib::IMsRdpClientAdvancedSettings_get_BitmapVirtualCache16BppSize_Stub (IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase)
 
HRESULT STDMETHODCALLTYPE MSTSCLib::IMsRdpClientAdvancedSettings_put_BitmapVirtualCache24BppSize_Proxy (IMsRdpClientAdvancedSettings *This, long pBitmapVirtualCache24BppSize)
 
void __RPC_STUB MSTSCLib::IMsRdpClientAdvancedSettings_put_BitmapVirtualCache24BppSize_Stub (IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase)
 
HRESULT STDMETHODCALLTYPE MSTSCLib::IMsRdpClientAdvancedSettings_get_BitmapVirtualCache24BppSize_Proxy (IMsRdpClientAdvancedSettings *This, long *pBitmapVirtualCache24BppSize)
 
void __RPC_STUB MSTSCLib::IMsRdpClientAdvancedSettings_get_BitmapVirtualCache24BppSize_Stub (IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase)
 
HRESULT STDMETHODCALLTYPE MSTSCLib::IMsRdpClientAdvancedSettings_put_PerformanceFlags_Proxy (IMsRdpClientAdvancedSettings *This, long pDisableList)
 
void __RPC_STUB MSTSCLib::IMsRdpClientAdvancedSettings_put_PerformanceFlags_Stub (IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase)
 
HRESULT STDMETHODCALLTYPE MSTSCLib::IMsRdpClientAdvancedSettings_get_PerformanceFlags_Proxy (IMsRdpClientAdvancedSettings *This, long *pDisableList)
 
void __RPC_STUB MSTSCLib::IMsRdpClientAdvancedSettings_get_PerformanceFlags_Stub (IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase)
 
HRESULT STDMETHODCALLTYPE MSTSCLib::IMsRdpClientAdvancedSettings_put_ConnectWithEndpoint_Proxy (IMsRdpClientAdvancedSettings *This, VARIANT *rhs)
 
void __RPC_STUB MSTSCLib::IMsRdpClientAdvancedSettings_put_ConnectWithEndpoint_Stub (IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase)
 
HRESULT STDMETHODCALLTYPE MSTSCLib::IMsRdpClientAdvancedSettings_put_NotifyTSPublicKey_Proxy (IMsRdpClientAdvancedSettings *This, VARIANT_BOOL pfNotify)
 
void __RPC_STUB MSTSCLib::IMsRdpClientAdvancedSettings_put_NotifyTSPublicKey_Stub (IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase)
 
HRESULT STDMETHODCALLTYPE MSTSCLib::IMsRdpClientAdvancedSettings_get_NotifyTSPublicKey_Proxy (IMsRdpClientAdvancedSettings *This, VARIANT_BOOL *pfNotify)
 
void __RPC_STUB MSTSCLib::IMsRdpClientAdvancedSettings_get_NotifyTSPublicKey_Stub (IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase)
 
HRESULT STDMETHODCALLTYPE MSTSCLib::IMsRdpClientAdvancedSettings2_get_CanAutoReconnect_Proxy (IMsRdpClientAdvancedSettings2 *This, VARIANT_BOOL *pfCanAutoReconnect)
 
void __RPC_STUB MSTSCLib::IMsRdpClientAdvancedSettings2_get_CanAutoReconnect_Stub (IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase)
 
HRESULT STDMETHODCALLTYPE MSTSCLib::IMsRdpClientAdvancedSettings2_put_EnableAutoReconnect_Proxy (IMsRdpClientAdvancedSettings2 *This, VARIANT_BOOL pfEnableAutoReconnect)
 
void __RPC_STUB MSTSCLib::IMsRdpClientAdvancedSettings2_put_EnableAutoReconnect_Stub (IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase)
 
HRESULT STDMETHODCALLTYPE MSTSCLib::IMsRdpClientAdvancedSettings2_get_EnableAutoReconnect_Proxy (IMsRdpClientAdvancedSettings2 *This, VARIANT_BOOL *pfEnableAutoReconnect)
 
void __RPC_STUB MSTSCLib::IMsRdpClientAdvancedSettings2_get_EnableAutoReconnect_Stub (IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase)
 
HRESULT STDMETHODCALLTYPE MSTSCLib::IMsRdpClientAdvancedSettings2_put_MaxReconnectAttempts_Proxy (IMsRdpClientAdvancedSettings2 *This, long pMaxReconnectAttempts)
 
void __RPC_STUB MSTSCLib::IMsRdpClientAdvancedSettings2_put_MaxReconnectAttempts_Stub (IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase)
 
HRESULT STDMETHODCALLTYPE MSTSCLib::IMsRdpClientAdvancedSettings2_get_MaxReconnectAttempts_Proxy (IMsRdpClientAdvancedSettings2 *This, long *pMaxReconnectAttempts)
 
void __RPC_STUB MSTSCLib::IMsRdpClientAdvancedSettings2_get_MaxReconnectAttempts_Stub (IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase)
 
HRESULT STDMETHODCALLTYPE MSTSCLib::IMsRdpClientAdvancedSettings3_put_ConnectionBarShowMinimizeButton_Proxy (IMsRdpClientAdvancedSettings3 *This, VARIANT_BOOL pfShowMinimize)
 
void __RPC_STUB MSTSCLib::IMsRdpClientAdvancedSettings3_put_ConnectionBarShowMinimizeButton_Stub (IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase)
 
HRESULT STDMETHODCALLTYPE MSTSCLib::IMsRdpClientAdvancedSettings3_get_ConnectionBarShowMinimizeButton_Proxy (IMsRdpClientAdvancedSettings3 *This, VARIANT_BOOL *pfShowMinimize)
 
void __RPC_STUB MSTSCLib::IMsRdpClientAdvancedSettings3_get_ConnectionBarShowMinimizeButton_Stub (IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase)
 
HRESULT STDMETHODCALLTYPE MSTSCLib::IMsRdpClientAdvancedSettings3_put_ConnectionBarShowRestoreButton_Proxy (IMsRdpClientAdvancedSettings3 *This, VARIANT_BOOL pfShowRestore)
 
void __RPC_STUB MSTSCLib::IMsRdpClientAdvancedSettings3_put_ConnectionBarShowRestoreButton_Stub (IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase)
 
HRESULT STDMETHODCALLTYPE MSTSCLib::IMsRdpClientAdvancedSettings3_get_ConnectionBarShowRestoreButton_Proxy (IMsRdpClientAdvancedSettings3 *This, VARIANT_BOOL *pfShowRestore)
 
void __RPC_STUB MSTSCLib::IMsRdpClientAdvancedSettings3_get_ConnectionBarShowRestoreButton_Stub (IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase)
 
HRESULT STDMETHODCALLTYPE MSTSCLib::IMsRdpClientAdvancedSettings4_put_AuthenticationLevel_Proxy (IMsRdpClientAdvancedSettings4 *This, unsigned int puiAuthLevel)
 
void __RPC_STUB MSTSCLib::IMsRdpClientAdvancedSettings4_put_AuthenticationLevel_Stub (IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase)
 
HRESULT STDMETHODCALLTYPE MSTSCLib::IMsRdpClientAdvancedSettings4_get_AuthenticationLevel_Proxy (IMsRdpClientAdvancedSettings4 *This, unsigned int *puiAuthLevel)
 
void __RPC_STUB MSTSCLib::IMsRdpClientAdvancedSettings4_get_AuthenticationLevel_Stub (IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase)
 
 MSTSCLib_Redist::MIDL_DEFINE_GUID (IID, LIBID_MSTSCLib, 0xAF586AAE, 0xB62A, 0x420E, 0xB7, 0x96, 0x29, 0x4E, 0x7E, 0xE6, 0x4C, 0x70)
 
 MSTSCLib_Redist::MIDL_DEFINE_GUID (IID, DIID_IMsTscAxEvents, 0x336D5562, 0xEFA8, 0x482E, 0x8C, 0xB3, 0xC5, 0xC0, 0xFC, 0x7A, 0x7D, 0xB6)
 
 MSTSCLib_Redist::MIDL_DEFINE_GUID (IID, IID_IMsTscAx, 0x327BB5CD, 0x834E, 0x4400, 0xAE, 0xF2, 0xB3, 0x0E, 0x15, 0xE5, 0xD6, 0x82)
 
 MSTSCLib_Redist::MIDL_DEFINE_GUID (IID, IID_IMsRdpClient, 0x92B4A539, 0x7115, 0x4B7C, 0xA5, 0xA9, 0xE5, 0xD9, 0xEF, 0xC2, 0x78, 0x0A)
 
 MSTSCLib_Redist::MIDL_DEFINE_GUID (IID, IID_IMsRdpClient2, 0xE7E17DC4, 0x3B71, 0x4BA7, 0xA8, 0xE6, 0x28, 0x1F, 0xFA, 0xDC, 0xA2, 0x8F)
 
 MSTSCLib_Redist::MIDL_DEFINE_GUID (IID, IID_IMsRdpClient3, 0x91B7CBC5, 0xA72E, 0x4FA0, 0x93, 0x00, 0xD6, 0x47, 0xD7, 0xE8, 0x97, 0xFF)
 
 MSTSCLib_Redist::MIDL_DEFINE_GUID (IID, IID_IMsRdpClient4, 0x095E0738, 0xD97D, 0x488B, 0xB9, 0xF6, 0xDD, 0x0E, 0x8D, 0x66, 0xC0, 0xDE)
 
 MSTSCLib_Redist::MIDL_DEFINE_GUID (IID, IID_IMsTscNonScriptable, 0xC1E6743A, 0x41C1, 0x4A74, 0x83, 0x2A, 0x0D, 0xD0, 0x6C, 0x1C, 0x7A, 0x0E)
 
 MSTSCLib_Redist::MIDL_DEFINE_GUID (IID, IID_IMsRdpClientNonScriptable, 0x2F079C4C, 0x87B2, 0x4AFD, 0x97, 0xAB, 0x20, 0xCD, 0xB4, 0x30, 0x38, 0xAE)
 
 MSTSCLib_Redist::MIDL_DEFINE_GUID (IID, IID_IMsRdpClientNonScriptable2, 0x17A5E535, 0x4072, 0x4FA4, 0xAF, 0x32, 0xC8, 0xD0, 0xD4, 0x73, 0x45, 0xE9)
 
 MSTSCLib_Redist::MIDL_DEFINE_GUID (IID, IID_IMsTscAdvancedSettings, 0x809945CC, 0x4B3B, 0x4A92, 0xA6, 0xB0, 0xDB, 0xF9, 0xB5, 0xF2, 0xEF, 0x2D)
 
 MSTSCLib_Redist::MIDL_DEFINE_GUID (IID, IID_IMsRdpClientAdvancedSettings, 0x3C65B4AB, 0x12B3, 0x465B, 0xAC, 0xD4, 0xB8, 0xDA, 0xD3, 0xBF, 0xF9, 0xE2)
 
 MSTSCLib_Redist::MIDL_DEFINE_GUID (IID, IID_IMsRdpClientAdvancedSettings2, 0x9AC42117, 0x2B76, 0x4320, 0xAA, 0x44, 0x0E, 0x61, 0x6A, 0xB8, 0x43, 0x7B)
 
 MSTSCLib_Redist::MIDL_DEFINE_GUID (IID, IID_IMsRdpClientAdvancedSettings3, 0x19CD856B, 0xC542, 0x4C53, 0xAC, 0xEE, 0xF1, 0x27, 0xE3, 0xBE, 0x1A, 0x59)
 
 MSTSCLib_Redist::MIDL_DEFINE_GUID (IID, IID_IMsRdpClientAdvancedSettings4, 0xFBA7F64E, 0x7345, 0x4405, 0xAE, 0x50, 0xFA, 0x4A, 0x76, 0x3D, 0xC0, 0xDE)
 
 MSTSCLib_Redist::MIDL_DEFINE_GUID (IID, IID_IMsTscSecuredSettings, 0xC9D65442, 0xA0F9, 0x45B2, 0x8F, 0x73, 0xD6, 0x1D, 0x2D, 0xB8, 0xCB, 0xB6)
 
 MSTSCLib_Redist::MIDL_DEFINE_GUID (IID, IID_IMsRdpClientSecuredSettings, 0x605BEFCF, 0x39C1, 0x45CC, 0xA8, 0x11, 0x06, 0x8F, 0xB7, 0xBE, 0x34, 0x6D)
 
 MSTSCLib_Redist::MIDL_DEFINE_GUID (IID, IID_IMsTscDebug, 0x209D0EB9, 0x6254, 0x47B1, 0x90, 0x33, 0xA9, 0x8D, 0xAE, 0x55, 0xBB, 0x27)
 
 MSTSCLib_Redist::MIDL_DEFINE_GUID (CLSID, CLSID_MsTscAx, 0x1FB464C8, 0x09BB, 0x4017, 0xA2, 0xF5, 0xEB, 0x74, 0x2F, 0x04, 0x39, 0x2F)
 
 MSTSCLib_Redist::MIDL_DEFINE_GUID (CLSID, CLSID_MsRdpClient, 0x791FA017, 0x2DE3, 0x492E, 0xAC, 0xC5, 0x53, 0xC6, 0x7A, 0x2B, 0x94, 0xD0)
 
 MSTSCLib_Redist::MIDL_DEFINE_GUID (CLSID, CLSID_MsRdpClient2, 0x9059F30F, 0x4EB1, 0x4BD2, 0x9F, 0xDC, 0x36, 0xF4, 0x3A, 0x21, 0x8F, 0x4A)
 
 MSTSCLib_Redist::MIDL_DEFINE_GUID (CLSID, CLSID_MsRdpClient3, 0x7584C670, 0x2274, 0x4EFB, 0xB0, 0x0B, 0xD6, 0xAA, 0xBA, 0x6D, 0x38, 0x50)
 
 MSTSCLib_Redist::MIDL_DEFINE_GUID (CLSID, CLSID_MsRdpClient4, 0x6AE29350, 0x321B, 0x42BE, 0xBB, 0xE5, 0x12, 0xFB, 0x52, 0x70, 0xC0, 0xDE)
 
HMODULE anonymous_namespace{activex.cpp}::GetCurrentModule ()
 
void anonymous_namespace{activex.cpp}::lockServer ()
 
void anonymous_namespace{activex.cpp}::unlockServer ()
 
bool anonymous_namespace{activex.cpp}::canUnloadServer ()
 
void anonymous_namespace{activex.cpp}::FreeLpsz (LPSTR lpsz)
 
LPSTR anonymous_namespace{activex.cpp}::AllocLpsz (const CHAR *lpsz, size_t cb)
 
LPSTR anonymous_namespace{activex.cpp}::AllocLpsz (const WCHAR *lpwsz, int cchIn)
 
LPSTR anonymous_namespace{activex.cpp}::BstrToLpsz (BSTR bstr)
 
BSTR anonymous_namespace{activex.cpp}::LpszToBstr (LPSTR lpsz)
 
template<class T , class U >
T anonymous_namespace{activex.cpp}::aligndown (const T &X, const U &align)
 
template<class T , class U >
T anonymous_namespace{activex.cpp}::alignup (const T &X, const U &align)
 
uint8anonymous_namespace{activex.cpp}::win32_convert_scanlines (int width, int height, int bitcount, int fromalign, int toalign, const uint8 *data, uint8 **buffer)
 
HBITMAP anonymous_namespace{activex.cpp}::win32_create_dib (LONG width, LONG height, WORD bitcount, const BYTE *data)
 
HBRUSH anonymous_namespace{activex.cpp}::win32_create_brush (BRUSH *brush, COLORREF fgcolour)
 
void ui_begin_update (RDPCLIENT *This)
 
void ui_end_update (RDPCLIENT *This)
 
void ui_set_clip (RDPCLIENT *This, int x, int y, int cx, int cy)
 
void ui_reset_clip (RDPCLIENT *This)
 
void ui_destblt (RDPCLIENT *This, uint8 opcode, int x, int y, int cx, int cy)
 
void ui_memblt (RDPCLIENT *This, uint8 opcode, int x, int y, int cx, int cy, HBITMAP src, int srcx, int srcy)
 
void ui_patblt (RDPCLIENT *This, uint8 opcode, int x, int y, int cx, int cy, BRUSH *brush, int bgcolour, int fgcolour)
 
void ui_screenblt (RDPCLIENT *This, uint8 opcode, int x, int y, int cx, int cy, int srcx, int srcy)
 
void ui_triblt (RDPCLIENT *This, uint8 opcode, int x, int y, int cx, int cy, HBITMAP src, int srcx, int srcy, BRUSH *brush, int bgcolour, int fgcolour)
 
void ui_paint_bitmap (RDPCLIENT *This, int x, int y, int cx, int cy, int width, int height, uint8 *data)
 
void ui_ellipse (RDPCLIENT *This, uint8 opcode, uint8 fillmode, int x, int y, int cx, int cy, BRUSH *brush, int bgcolour, int fgcolour)
 
void ui_line (RDPCLIENT *This, uint8 opcode, int startx, int starty, int endx, int endy, PEN *pen)
 
void ui_polygon (RDPCLIENT *This, uint8 opcode, uint8 fillmode, POINT *point, int npoints, BRUSH *brush, int bgcolour, int fgcolour)
 
void ui_polyline (RDPCLIENT *This, uint8 opcode, POINT *points, int npoints, PEN *pen)
 
void ui_rect (RDPCLIENT *This, int x, int y, int cx, int cy, int colour)
 
void ui_draw_text (RDPCLIENT *This, uint8 font, uint8 flags, uint8 opcode, int mixmode, int x, int y, int clipx, int clipy, int clipcx, int clipcy, int boxx, int boxy, int boxcx, int boxcy, BRUSH *brush, int bgcolour, int fgcolour, uint8 *text, uint8 length)
 
void ui_desktop_save (RDPCLIENT *This, uint32 offset, int x, int y, int cx, int cy)
 
void ui_desktop_restore (RDPCLIENT *This, uint32 offset, int x, int y, int cx, int cy)
 
HBITMAP ui_create_bitmap (RDPCLIENT *This, int width, int height, uint8 *data)
 
void ui_destroy_bitmap (RDPCLIENT *, HBITMAP bmp)
 
HCOLOURMAP ui_create_colourmap (RDPCLIENT *, COLOURMAP *colours)
 
void ui_set_colourmap (RDPCLIENT *This, HCOLOURMAP map)
 
HCURSOR ui_create_cursor (RDPCLIENT *This, unsigned int x, unsigned int y, int width, int height, uint8 *andmask, uint8 *xormask)
 
void ui_destroy_cursor (RDPCLIENT *, HCURSOR cursor)
 
HGLYPH ui_create_glyph (RDPCLIENT *This, int width, int height, const uint8 *data)
 
void ui_destroy_glyph (RDPCLIENT *, HGLYPH glyph)
 
void ui_move_pointer (RDPCLIENT *This, int x, int y)
 
void ui_set_cursor (RDPCLIENT *This, HCURSOR cursor)
 
void ui_set_null_cursor (RDPCLIENT *This)
 
void ui_resize_window (RDPCLIENT *This)
 
void ui_bell (RDPCLIENT *)
 
int ui_select (RDPCLIENT *This, SOCKET rdp_socket)
 
BOOL event_pubkey (RDPCLIENT *This, unsigned char *key, unsigned int key_size)
 
void event_logon (RDPCLIENT *This)
 
BOOL event_redirect (RDPCLIENT *This, uint32 flags, uint32 server_len, wchar_t *server, uint32 cookie_len, char *cookie, uint32 username_len, wchar_t *username, uint32 domain_len, wchar_t *domain, uint32 password_len, wchar_t *password)
 
STDAPI DllGetClassObject (REFCLSID rclsid, REFIID riid, LPVOID *ppv)
 
STDAPI DllCanUnloadNow (void)
 
 STDAPI_ (ULONG) DllGetTscCtlVer(void)
 
DWORD WINAPI DllMain (HINSTANCE hInstance, DWORD fdwReason, LPVOID lpvReserved)
 

Variables

EXTERN_C const IID MSTSCLib::LIBID_MSTSCLib
 
EXTERN_C const IID MSTSCLib::DIID_IMsTscAxEvents
 
EXTERN_C const IID MSTSCLib::IID_IMsTscAx
 
EXTERN_C const IID MSTSCLib::IID_IMsRdpClient
 
EXTERN_C const IID MSTSCLib::IID_IMsRdpClient2
 
EXTERN_C const IID MSTSCLib::IID_IMsRdpClient3
 
EXTERN_C const IID MSTSCLib::IID_IMsRdpClient4
 
EXTERN_C const IID MSTSCLib::IID_IMsTscNonScriptable
 
EXTERN_C const IID MSTSCLib::IID_IMsRdpClientNonScriptable
 
EXTERN_C const IID MSTSCLib::IID_IMsRdpClientNonScriptable2
 
EXTERN_C const IID MSTSCLib::IID_IMsTscAdvancedSettings
 
EXTERN_C const IID MSTSCLib::IID_IMsRdpClientAdvancedSettings
 
EXTERN_C const IID MSTSCLib::IID_IMsRdpClientAdvancedSettings2
 
EXTERN_C const IID MSTSCLib::IID_IMsRdpClientAdvancedSettings3
 
EXTERN_C const IID MSTSCLib::IID_IMsRdpClientAdvancedSettings4
 
EXTERN_C const IID MSTSCLib::IID_IMsTscSecuredSettings
 
EXTERN_C const IID MSTSCLib::IID_IMsRdpClientSecuredSettings
 
EXTERN_C const IID MSTSCLib::IID_IMsTscDebug
 
EXTERN_C const CLSID MSTSCLib::CLSID_MsTscAx
 
EXTERN_C const CLSID MSTSCLib::CLSID_MsRdpClient
 
EXTERN_C const CLSID MSTSCLib::CLSID_MsRdpClient2
 
EXTERN_C const CLSID MSTSCLib::CLSID_MsRdpClient3
 
EXTERN_C const CLSID MSTSCLib::CLSID_MsRdpClient4
 
LONG anonymous_namespace{activex.cpp}::g_moduleRefCount = 0
 

Macro Definition Documentation

◆ SEALED_

Definition at line 295 of file activex.cpp.

Function Documentation

◆ DllCanUnloadNow()

STDAPI DllCanUnloadNow ( void  )

Definition at line 6051 of file activex.cpp.

6052 {
6053  return canUnloadServer() ? S_OK : S_FALSE;
6054 }
#define S_FALSE
Definition: winerror.h:2357
#define S_OK
Definition: intsafe.h:59

◆ DllGetClassObject()

STDAPI DllGetClassObject ( REFCLSID  rclsid,
REFIID  riid,
LPVOID ppv 
)

Definition at line 6011 of file activex.cpp.

6012 {
6013  unsigned libindex;
6014 
6015  if
6016  (
6017  rclsid == MSTSCLib::CLSID_MsTscAx ||
6018  rclsid == MSTSCLib::CLSID_MsRdpClient ||
6019  rclsid == MSTSCLib::CLSID_MsRdpClient2 ||
6020  rclsid == MSTSCLib::CLSID_MsRdpClient3 ||
6022  )
6023  libindex = 1;
6024  else if
6025  (
6026  rclsid == MSTSCLib_Redist::CLSID_MsTscAx ||
6029  rclsid == MSTSCLib_Redist::CLSID_MsRdpClient3 // ||
6030  // rclsid != MSTSCLib::CLSID_MsRdpClient4
6031  )
6032  libindex = 2;
6033  else
6035 
6036  ClassFactory * p = new ClassFactory(rclsid, libindex);
6037 
6038  if(p == NULL)
6039  return E_OUTOFMEMORY;
6040 
6041  HRESULT hr = p->QueryInterface(riid, ppv);
6042 
6043  p->Release();
6044 
6045  if(FAILED(hr))
6046  return hr;
6047 
6048  return S_OK;
6049 }
EXTERN_C const CLSID CLSID_MsRdpClient2
Definition: activex.cpp:8912
HRESULT hr
Definition: shlfolder.c:183
REFIID riid
Definition: precomp.h:44
REFIID LPVOID * ppv
Definition: atlbase.h:39
#define CLASS_E_CLASSNOTAVAILABLE
Definition: winerror.h:2663
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
smooth NULL
Definition: ftsmooth.c:416
EXTERN_C const CLSID CLSID_MsRdpClient3
Definition: activex.cpp:8920
LONG HRESULT
Definition: typedefs.h:77
EXTERN_C const CLSID CLSID_MsRdpClient4
Definition: activex.cpp:8928
EXTERN_C const CLSID CLSID_MsRdpClient
Definition: activex.cpp:8904
#define S_OK
Definition: intsafe.h:59
struct tagClassFactory ClassFactory
GLfloat GLfloat p
Definition: glext.h:8902
EXTERN_C const CLSID CLSID_MsTscAx
Definition: activex.cpp:8789

◆ DllMain()

DWORD WINAPI DllMain ( HINSTANCE  hInstance,
DWORD  fdwReason,
LPVOID  lpvReserved 
)

Definition at line 6062 of file activex.cpp.

6063 {
6065 
6066  switch(fdwReason)
6067  {
6068  case DLL_PROCESS_ATTACH:
6069  {
6071 
6072  if(!RdpClient::Startup())
6073  return FALSE;
6074  }
6075 
6076  break;
6077 
6078  case DLL_PROCESS_DETACH:
6079  {
6080  // Process is terminating, no need to clean up
6081  if(lpvReserved)
6082  break;
6083 
6085  }
6086 
6087  break;
6088  }
6089 
6090  return TRUE;
6091 }
#define TRUE
Definition: types.h:120
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
Definition: loader.c:85
#define assert(x)
Definition: debug.h:53
#define DLL_PROCESS_ATTACH
Definition: compat.h:120
static IN DWORD IN LPVOID lpvReserved
HINSTANCE hInstance
Definition: charmap.c:20
static STARTUP Startup
Definition: CImage.cpp:101
#define DLL_PROCESS_DETACH
Definition: compat.h:119

◆ event_logon()

void event_logon ( RDPCLIENT This)

Definition at line 5908 of file activex.cpp.

5909 {
5910  RdpClient::OnLogon(This);
5911 }

Referenced by process_data_pdu().

◆ event_pubkey()

BOOL event_pubkey ( RDPCLIENT This,
unsigned char key,
unsigned int  key_size 
)

Definition at line 5900 of file activex.cpp.

5901 {
5902  if(!RdpClient::OnPublicKey(This, key, key_size))
5903  return FALSE;
5904  else
5905  return TRUE;
5906 }
#define TRUE
Definition: types.h:120
Definition: path.c:42

◆ event_redirect()

BOOL event_redirect ( RDPCLIENT This,
uint32  flags,
uint32  server_len,
wchar_t server,
uint32  cookie_len,
char cookie,
uint32  username_len,
wchar_t username,
uint32  domain_len,
wchar_t domain,
uint32  password_len,
wchar_t password 
)

Definition at line 5913 of file activex.cpp.

5914 {
5915  if
5916  (
5917  !RdpClient::OnRedirect
5918  (
5919  This,
5920  flags,
5921  server_len,
5922  server,
5923  cookie_len,
5924  cookie,
5925  username_len,
5926  username,
5927  domain_len,
5928  domain,
5929  password_len,
5930  password
5931  )
5932  )
5933  return FALSE;
5934  else
5935  return TRUE;
5936 }
#define TRUE
Definition: types.h:120
static rfbScreenInfoPtr server
Definition: vnc.c:74
static WCHAR username[]
Definition: url.c:32
GLbitfield flags
Definition: glext.h:7161
T1_FIELD_DICT_PRIVATE password
Definition: t1tokens.h:64

Referenced by process_redirect_pdu().

◆ STDAPI_()

STDAPI_ ( ULONG  )

Definition at line 6056 of file activex.cpp.

6057 {
6058  // BUGBUG: don't hardcode this
6059  return 0x05020ECE; // 5.2.3790
6060 }

◆ ui_begin_update()

void ui_begin_update ( RDPCLIENT This)

Definition at line 5622 of file activex.cpp.

5623 {
5624  RdpClient::InnerToOuter(This)->GetUI()->Display_BeginUpdate();
5625 }

◆ ui_bell()

void ui_bell ( RDPCLIENT )

Definition at line 5889 of file activex.cpp.

5890 {
5891  MessageBeep(0);
5892 }
BOOL WINAPI MessageBeep(_In_ UINT)

◆ ui_create_bitmap()

HBITMAP ui_create_bitmap ( RDPCLIENT This,
int  width,
int  height,
uint8 data 
)

Definition at line 5762 of file activex.cpp.

5763 {
5764  return win32_create_dib(width, height, This->server_depth, data);
5765 }
GLint GLint GLsizei width
Definition: gl.h:1546
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
HBITMAP win32_create_dib(LONG width, LONG height, WORD bitcount, const BYTE *data)
Definition: activex.cpp:192

◆ ui_create_colourmap()

HCOLOURMAP ui_create_colourmap ( RDPCLIENT ,
COLOURMAP colours 
)

Definition at line 5773 of file activex.cpp.

5774 {
5775  return NULL;
5776 }
smooth NULL
Definition: ftsmooth.c:416

◆ ui_create_cursor()

HCURSOR ui_create_cursor ( RDPCLIENT This,
unsigned int  x,
unsigned int  y,
int  width,
int  height,
uint8 andmask,
uint8 xormask 
)

Definition at line 5784 of file activex.cpp.

5785 {
5786  uint8 * andbuf = NULL;
5787  uint8 * xorbuf = NULL;
5788 
5789  uint8 * andbits = win32_convert_scanlines(width, - height, 1, 2, 4, andmask, &andbuf);
5790  uint8 * xorbits = win32_convert_scanlines(width, height, 24, 2, 4, xormask, &xorbuf);
5791 
5792  HBITMAP hbmMask = CreateBitmap(width, height, 1, 1, andbits);
5793  HBITMAP hbmColor = win32_create_dib(width, height, 24, xorbits);
5794 
5795  ICONINFO iconinfo;
5796  iconinfo.fIcon = FALSE;
5797  iconinfo.xHotspot = x;
5798  iconinfo.yHotspot = y;
5799  iconinfo.hbmMask = hbmMask;
5800  iconinfo.hbmColor = hbmColor;
5801 
5802  HICON icon = CreateIconIndirect(&iconinfo);
5803 
5804  if(icon == NULL)
5805  error("CreateIconIndirect %dx%d failed\n", width, height);
5806 
5807  if(andbuf)
5808  delete[] andbuf;
5809 
5810  if(xorbuf)
5811  delete[] xorbuf;
5812 
5813  DeleteObject(hbmMask);
5814  DeleteObject(hbmColor);
5815 
5816  return icon;
5817 }
GLint GLint GLsizei width
Definition: gl.h:1546
static HICON
Definition: imagelist.c:84
#define error(str)
Definition: mkdosfs.c:1605
DWORD yHotspot
Definition: winuser.h:3078
BOOL WINAPI DeleteObject(_In_ HGDIOBJ)
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
HBITMAP hbmMask
Definition: winuser.h:3079
smooth NULL
Definition: ftsmooth.c:416
HBITMAP hbmColor
Definition: winuser.h:3080
BOOL fIcon
Definition: winuser.h:3076
DWORD xHotspot
Definition: winuser.h:3077
HICON WINAPI CreateIconIndirect(_In_ PICONINFO)
Definition: cursoricon.c:2546
unsigned char uint8
Definition: types.h:28
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
uint8 * win32_convert_scanlines(int width, int height, int bitcount, int fromalign, int toalign, const uint8 *data, uint8 **buffer)
Definition: activex.cpp:141
static HBITMAP
Definition: button.c:44
HBITMAP win32_create_dib(LONG width, LONG height, WORD bitcount, const BYTE *data)
Definition: activex.cpp:192
HBITMAP WINAPI CreateBitmap(_In_ INT cx, _In_ INT cy, _In_ UINT cPlanes, _In_ UINT cBitsPerPel, _In_opt_ const VOID *pvBits)

◆ ui_create_glyph()

HGLYPH ui_create_glyph ( RDPCLIENT This,
int  width,
int  height,
const uint8 data 
)

Definition at line 5825 of file activex.cpp.

5826 {
5827  uint8 * databuf = NULL;
5828  uint8 * databits = win32_convert_scanlines(width, height, 1, 1, 2, data, &databuf);
5829 
5830  HBITMAP hbm = CreateBitmap(width, height, 1, 1, databits);
5831 
5832  if(databuf)
5833  delete[] databuf;
5834 
5835  const uint8 * p = data;
5836  int stride = alignup(alignup(width, 8) / 8, 1);
5837 
5838 #ifdef _DEBUG
5839  printf("glyph %p\n", hbm);
5840 
5841  for(int i = 0; i < height; ++ i, p += stride)
5842  {
5843  for(int j = 0; j < width; ++ j)
5844  {
5845  int B = p[j / 8];
5846  int b = 8 - j % 8 - 1;
5847 
5848  if(B & (1 << b))
5849  fputs("##", stdout);
5850  else
5851  fputs("..", stdout);
5852  }
5853 
5854  fputc('\n', stdout);
5855  }
5856 
5857  fputc('\n', stdout);
5858 #endif
5859 
5860  return hbm;
5861 }
GLint GLint GLsizei width
Definition: gl.h:1546
_Check_return_opt_ _CRTIMP int __cdecl fputc(_In_ int _Ch, _Inout_ FILE *_File)
FILE * stdout
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
smooth NULL
Definition: ftsmooth.c:416
T alignup(const T &X, const U &align)
Definition: activex.cpp:135
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint GLint GLint j
Definition: glfuncs.h:250
GLboolean GLboolean GLboolean b
Definition: glext.h:6204
GLsizei stride
Definition: glext.h:5848
unsigned char uint8
Definition: types.h:28
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
_In_ HBITMAP hbm
Definition: ntgdi.h:2776
#define B(row, col)
uint8 * win32_convert_scanlines(int width, int height, int bitcount, int fromalign, int toalign, const uint8 *data, uint8 **buffer)
Definition: activex.cpp:141
static HBITMAP
Definition: button.c:44
GLfloat GLfloat p
Definition: glext.h:8902
_Check_return_opt_ _CRTIMP int __cdecl fputs(_In_z_ const char *_Str, _Inout_ FILE *_File)
#define printf
Definition: config.h:203
HBITMAP WINAPI CreateBitmap(_In_ INT cx, _In_ INT cy, _In_ UINT cPlanes, _In_ UINT cBitsPerPel, _In_opt_ const VOID *pvBits)

◆ ui_desktop_restore()

void ui_desktop_restore ( RDPCLIENT This,
uint32  offset,
int  x,
int  y,
int  cx,
int  cy 
)

Definition at line 5755 of file activex.cpp.

5756 {
5757  RdpClient::InnerToOuter(This)->GetUI()->Display_RestoreDesktop(offset, x, y, cx, cy);
5758 }
GLintptr offset
Definition: glext.h:5920
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
_Out_opt_ int _Out_opt_ int * cy
Definition: commctrl.h:570
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
_Out_opt_ int * cx
Definition: commctrl.h:570

◆ ui_desktop_save()

void ui_desktop_save ( RDPCLIENT This,
uint32  offset,
int  x,
int  y,
int  cx,
int  cy 
)

Definition at line 5750 of file activex.cpp.

5751 {
5752  RdpClient::InnerToOuter(This)->GetUI()->Display_SaveDesktop(offset, x, y, cx, cy);
5753 }
GLintptr offset
Definition: glext.h:5920
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
_Out_opt_ int _Out_opt_ int * cy
Definition: commctrl.h:570
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
_Out_opt_ int * cx
Definition: commctrl.h:570

◆ ui_destblt()

void ui_destblt ( RDPCLIENT This,
uint8  opcode,
int  x,
int  y,
int  cx,
int  cy 
)

Definition at line 5643 of file activex.cpp.

5644 {
5645  RdpClient::InnerToOuter(This)->GetUI()->Display_DestBlt(opcode, x, y, cx, cy);
5646 }
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
_Out_opt_ int _Out_opt_ int * cy
Definition: commctrl.h:570
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
_Out_opt_ int * cx
Definition: commctrl.h:570

◆ ui_destroy_bitmap()

void ui_destroy_bitmap ( RDPCLIENT ,
HBITMAP  bmp 
)

Definition at line 5767 of file activex.cpp.

5768 {
5769  DeleteObject(bmp);
5770 }
BOOL WINAPI DeleteObject(_In_ HGDIOBJ)
BITMAP bmp
Definition: alphablend.c:62

◆ ui_destroy_cursor()

void ui_destroy_cursor ( RDPCLIENT ,
HCURSOR  cursor 
)

Definition at line 5819 of file activex.cpp.

5820 {
5822 }
BOOL WINAPI DestroyIcon(_In_ HICON)
Definition: cursoricon.c:2022
const char cursor[]
Definition: icontest.c:13

◆ ui_destroy_glyph()

void ui_destroy_glyph ( RDPCLIENT ,
HGLYPH  glyph 
)

Definition at line 5863 of file activex.cpp.

5864 {
5865  DeleteObject(glyph);
5866 }
BOOL WINAPI DeleteObject(_In_ HGDIOBJ)

◆ ui_draw_text()

void ui_draw_text ( RDPCLIENT This,
uint8  font,
uint8  flags,
uint8  opcode,
int  mixmode,
int  x,
int  y,
int  clipx,
int  clipy,
int  clipcx,
int  clipcy,
int  boxx,
int  boxy,
int  boxcx,
int  boxcy,
BRUSH brush,
int  bgcolour,
int  fgcolour,
uint8 text,
uint8  length 
)

Definition at line 5702 of file activex.cpp.

5724 {
5725  RdpClient::InnerToOuter(This)->GetUI()->Display_DrawText
5726  (
5727  font,
5728  flags,
5729  opcode,
5730  mixmode,
5731  x,
5732  y,
5733  clipx,
5734  clipy,
5735  clipcx,
5736  clipcy,
5737  boxx,
5738  boxy,
5739  boxcx,
5740  boxcy,
5741  brush,
5742  bgcolour,
5743  fgcolour,
5744  text,
5745  length
5746  );
5747 }
Definition: mk_font.cpp:20
const WCHAR * text
Definition: package.c:1827
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLenum GLuint GLenum GLsizei length
Definition: glext.h:5579
GLbitfield flags
Definition: glext.h:7161
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548

◆ ui_ellipse()

void ui_ellipse ( RDPCLIENT This,
uint8  opcode,
uint8  fillmode,
int  x,
int  y,
int  cx,
int  cy,
BRUSH brush,
int  bgcolour,
int  fgcolour 
)

Definition at line 5674 of file activex.cpp.

5675 {
5676  // TODO
5677 // RdpClient::InnerToOuter(This)->GetUI()->Display_Ellipse(opcode, fillmode, x, y, cx, cy, brush, bgcolour, fgcolour);
5678 }

◆ ui_end_update()

void ui_end_update ( RDPCLIENT This)

Definition at line 5627 of file activex.cpp.

5628 {
5629  RdpClient::InnerToOuter(This)->GetUI()->Display_EndUpdate();
5630 }

◆ ui_line()

void ui_line ( RDPCLIENT This,
uint8  opcode,
int  startx,
int  starty,
int  endx,
int  endy,
PEN pen 
)

Definition at line 5680 of file activex.cpp.

5681 {
5682  RdpClient::InnerToOuter(This)->GetUI()->Display_Line(opcode, startx, starty, endx, endy, pen);
5683 }

◆ ui_memblt()

void ui_memblt ( RDPCLIENT This,
uint8  opcode,
int  x,
int  y,
int  cx,
int  cy,
HBITMAP  src,
int  srcx,
int  srcy 
)

Definition at line 5648 of file activex.cpp.

5649 {
5650  RdpClient::InnerToOuter(This)->GetUI()->Display_MemBlt(opcode, x, y, cx, cy, src, srcx, srcy);
5651 }
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
_Out_opt_ int _Out_opt_ int * cy
Definition: commctrl.h:570
GLenum src
Definition: glext.h:6340
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
_Out_opt_ int * cx
Definition: commctrl.h:570

◆ ui_move_pointer()

void ui_move_pointer ( RDPCLIENT This,
int  x,
int  y 
)

Definition at line 5869 of file activex.cpp.

5870 {
5871  // TODO
5872 }

◆ ui_paint_bitmap()

void ui_paint_bitmap ( RDPCLIENT This,
int  x,
int  y,
int  cx,
int  cy,
int  width,
int  height,
uint8 data 
)

Definition at line 5668 of file activex.cpp.

5669 {
5670  RdpClient::InnerToOuter(This)->GetUI()->Display_PaintBitmap(x, y, cx, cy, width, height, data);
5671 }
GLint GLint GLsizei width
Definition: gl.h:1546
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
_Out_opt_ int _Out_opt_ int * cy
Definition: commctrl.h:570
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
_Out_opt_ int * cx
Definition: commctrl.h:570

◆ ui_patblt()

void ui_patblt ( RDPCLIENT This,
uint8  opcode,
int  x,
int  y,
int  cx,
int  cy,
BRUSH brush,
int  bgcolour,
int  fgcolour 
)

Definition at line 5653 of file activex.cpp.

5654 {
5655  RdpClient::InnerToOuter(This)->GetUI()->Display_PatBlt(opcode, x, y, cx, cy, brush, bgcolour, fgcolour);
5656 }
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
_Out_opt_ int _Out_opt_ int * cy
Definition: commctrl.h:570
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
_Out_opt_ int * cx
Definition: commctrl.h:570

◆ ui_polygon()

void ui_polygon ( RDPCLIENT This,
uint8  opcode,
uint8  fillmode,
POINT point,
int  npoints,
BRUSH brush,
int  bgcolour,
int  fgcolour 
)

Definition at line 5685 of file activex.cpp.

5686 {
5687  RdpClient::InnerToOuter(This)->GetUI()->Display_Polygon(opcode, fillmode, point, npoints, brush, bgcolour, fgcolour);
5688 }
POINTL point
Definition: edittest.c:50

◆ ui_polyline()

void ui_polyline ( RDPCLIENT This,
uint8  opcode,
POINT points,
int  npoints,
PEN pen 
)

Definition at line 5690 of file activex.cpp.

5691 {
5692  RdpClient::InnerToOuter(This)->GetUI()->Display_Polyline(opcode, points, npoints, pen);
5693 }
GLsizei const GLfloat * points
Definition: glext.h:8112

◆ ui_rect()

void ui_rect ( RDPCLIENT This,
int  x,
int  y,
int  cx,
int  cy,
int  colour 
)

Definition at line 5695 of file activex.cpp.

5696 {
5697  RdpClient::InnerToOuter(This)->GetUI()->Display_Rect(x, y, cx, cy, colour);
5698 }
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
_Out_opt_ int _Out_opt_ int * cy
Definition: commctrl.h:570
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
_Out_opt_ int * cx
Definition: commctrl.h:570

◆ ui_reset_clip()

void ui_reset_clip ( RDPCLIENT This)

Definition at line 5637 of file activex.cpp.

5638 {
5639  RdpClient::InnerToOuter(This)->GetUI()->Display_ResetClip();
5640 }

◆ ui_resize_window()

void ui_resize_window ( RDPCLIENT This)

Definition at line 5885 of file activex.cpp.

5886 {
5887 }

◆ ui_screenblt()

void ui_screenblt ( RDPCLIENT This,
uint8  opcode,
int  x,
int  y,
int  cx,
int  cy,
int  srcx,
int  srcy 
)

Definition at line 5658 of file activex.cpp.

5659 {
5660  RdpClient::InnerToOuter(This)->GetUI()->Display_ScreenBlt(opcode, x, y, cx, cy, srcx, srcy);
5661 }
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
_Out_opt_ int _Out_opt_ int * cy
Definition: commctrl.h:570
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
_Out_opt_ int * cx
Definition: commctrl.h:570

◆ ui_select()

int ui_select ( RDPCLIENT This,
SOCKET  rdp_socket 
)

Definition at line 5894 of file activex.cpp.

5895 {
5896  return SleepEx(0, TRUE) == WAIT_IO_COMPLETION;
5897 }
#define TRUE
Definition: types.h:120
#define WAIT_IO_COMPLETION
Definition: winbase.h:392
DWORD WINAPI SleepEx(IN DWORD dwMilliseconds, IN BOOL bAlertable)
Definition: synch.c:748

◆ ui_set_clip()

void ui_set_clip ( RDPCLIENT This,
int  x,
int  y,
int  cx,
int  cy 
)

Definition at line 5632 of file activex.cpp.

5633 {
5634  RdpClient::InnerToOuter(This)->GetUI()->Display_SetClip(x, y, cx, cy);
5635 }
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
_Out_opt_ int _Out_opt_ int * cy
Definition: commctrl.h:570
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
_Out_opt_ int * cx
Definition: commctrl.h:570

◆ ui_set_colourmap()

void ui_set_colourmap ( RDPCLIENT This,
HCOLOURMAP  map 
)

Definition at line 5778 of file activex.cpp.

5779 {
5780  // TODO
5781 }

◆ ui_set_cursor()

void ui_set_cursor ( RDPCLIENT This,
HCURSOR  cursor 
)

Definition at line 5874 of file activex.cpp.

5875 {
5876  // TODO
5877 }

◆ ui_set_null_cursor()

void ui_set_null_cursor ( RDPCLIENT This)

Definition at line 5879 of file activex.cpp.

5880 {
5881  // TODO
5882 }

◆ ui_triblt()

void ui_triblt ( RDPCLIENT This,
uint8  opcode,
int  x,
int  y,
int  cx,
int  cy,
HBITMAP  src,
int  srcx,
int  srcy,
BRUSH brush,
int  bgcolour,
int  fgcolour 
)

Definition at line 5663 of file activex.cpp.

5664 {
5665  RdpClient::InnerToOuter(This)->GetUI()->Display_TriBlt(opcode, x, y, cx, cy, src, srcx, srcy, brush, bgcolour, fgcolour);
5666 }
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
_Out_opt_ int _Out_opt_ int * cy
Definition: commctrl.h:570
GLenum src
Definition: glext.h:6340
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
_Out_opt_ int * cx
Definition: commctrl.h:570