ReactOS 0.4.16-dev-250-g3ecd236
anonymous_namespace{mstscax.cpp} Namespace Reference

Classes

class  CAdvancedSettings
 
class  CConnectionPoint
 
class  CConnectionPointContainer
 
class  CEnumConnectionPoints
 
class  CEnumConnections
 
class  ClassFactory
 
class  CoClass
 

Typedefs

typedef HRESULT(STDAPICALLTYPEPFNDLLGETCLASSOBJECT) (IN REFCLSID rclsid, IN REFIID riid, OUT LPVOID FAR *ppv)
 
typedef HRESULT(STDAPICALLTYPEPFNDLLCANUNLOADNOW) (void)
 
typedef ULONG(STDAPICALLTYPEPFNDLLGETTSCCTLVER) (void)
 

Functions

void init ()
 
void dbgprintf (LPCTSTR fmt,...)
 
std::wstring UUIDToString (const UUID &uuid)
 
std::wstring MonikerToString (IMoniker *pmk)
 
std::basic_string< TCHARRectToString (const RECT &rc)
 
std::basic_string< TCHARRectToString (const RECTL &rc)
 
std::basic_string< TCHARSizeToString (const SIZE &sz)
 
template<class T >
LPCTSTR BooleanToString (const T &X)
 
std::basic_string< TCHARVariantToString (const VARIANT &var)
 
IConnectionPointContainerHookIConnectionPointContainer (IConnectionPointContainer *p)
 
IEnumConnectionPointsHookIEnumConnectionPoints (IEnumConnectionPoints *p)
 
IConnectionPointHookIConnectionPoint (IConnectionPoint *p)
 
IEnumConnectionsHookIEnumConnections (IEnumConnections *p)
 
STDAPI DllGetClassObject (IN REFCLSID rclsid, IN REFIID riid, OUT LPVOID *ppv)
 
STDAPI DllCanUnloadNow (void)
 
 STDAPI_ (ULONG) DllGetTscCtlVer(void)
 

Variables

PFNDLLGETCLASSOBJECT pfnDllGetClassObject = NULL
 
PFNDLLCANUNLOADNOW pfnDllCanUnloadNow = NULL
 
PFNDLLGETTSCCTLVER pfnDllGetTscCtlVer = NULL
 
HMODULE hmMstscax = NULL
 
char __ImageBase
 
static const HMODULE hmSelf = reinterpret_cast<HMODULE>(&__ImageBase)
 

Typedef Documentation

◆ PFNDLLCANUNLOADNOW

typedef HRESULT(STDAPICALLTYPE * anonymous_namespace{mstscax.cpp}::PFNDLLCANUNLOADNOW) (void)

Definition at line 8 of file mstscax.cpp.

◆ PFNDLLGETCLASSOBJECT

typedef HRESULT(STDAPICALLTYPE * anonymous_namespace{mstscax.cpp}::PFNDLLGETCLASSOBJECT) (IN REFCLSID rclsid, IN REFIID riid, OUT LPVOID FAR *ppv)

Definition at line 7 of file mstscax.cpp.

◆ PFNDLLGETTSCCTLVER

typedef ULONG(STDAPICALLTYPE * anonymous_namespace{mstscax.cpp}::PFNDLLGETTSCCTLVER) (void)

Definition at line 9 of file mstscax.cpp.

Function Documentation

◆ BooleanToString()

template<class T >
LPCTSTR anonymous_namespace{mstscax.cpp}::BooleanToString ( const T X)

Definition at line 164 of file mstscax.cpp.

165 {
166 return X ? TEXT("true") : TEXT("false");
167 }
#define TEXT(s)
Definition: k32.h:26

Referenced by anonymous_namespace{mstscax.cpp}::CoClass::ContextSensitiveHelp(), anonymous_namespace{mstscax.cpp}::CoClass::EnableModeless(), anonymous_namespace{mstscax.cpp}::CoClass::FreezeEvents(), anonymous_namespace{mstscax.cpp}::CoClass::get_Connected(), anonymous_namespace{mstscax.cpp}::CoClass::get_FullScreen(), anonymous_namespace{mstscax.cpp}::CoClass::get_HorizontalScrollBarVisible(), anonymous_namespace{mstscax.cpp}::CoClass::get_SecuredSettingsEnabled(), anonymous_namespace{mstscax.cpp}::CoClass::get_StartConnected(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings2::get_CanAutoReconnect(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings2::get_EnableAutoReconnect(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings2::put_EnableAutoReconnect(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings3::get_ConnectionBarShowMinimizeButton(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings3::get_ConnectionBarShowRestoreButton(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings3::put_ConnectionBarShowMinimizeButton(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings3::put_ConnectionBarShowRestoreButton(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_ConnectToServerConsole(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_DisplayConnectionBar(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_GrabFocusOnConnect(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_NotifyTSPublicKey(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_PinConnectionBar(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_RedirectDrives(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_RedirectPorts(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_RedirectPrinters(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_RedirectSmartCards(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_SmartSizing(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_ConnectToServerConsole(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_DisplayConnectionBar(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_GrabFocusOnConnect(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_NotifyTSPublicKey(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_PinConnectionBar(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_RedirectDrives(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_RedirectPorts(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_RedirectPrinters(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_RedirectSmartCards(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_SmartSizing(), anonymous_namespace{mstscax.cpp}::CoClass::InitFromData(), anonymous_namespace{mstscax.cpp}::CoClass::IPersistStorage::Save(), anonymous_namespace{mstscax.cpp}::CoClass::IPersistStreamInit::Save(), anonymous_namespace{mstscax.cpp}::ClassFactory::LockServer(), anonymous_namespace{mstscax.cpp}::CoClass::OnDocWindowActivate(), anonymous_namespace{mstscax.cpp}::CoClass::OnFrameWindowActivate(), anonymous_namespace{mstscax.cpp}::CoClass::put_FullScreen(), anonymous_namespace{mstscax.cpp}::CoClass::put_StartConnected(), anonymous_namespace{mstscax.cpp}::CoClass::ResizeBorder(), and anonymous_namespace{mstscax.cpp}::CoClass::Save().

◆ dbgprintf()

void anonymous_namespace{mstscax.cpp}::dbgprintf ( LPCTSTR  fmt,
  ... 
)

Definition at line 42 of file mstscax.cpp.

43 {
44 TCHAR buf[0x1000];
45
48 StringCbVPrintf(buf, sizeof(buf), fmt, args);
49 va_end(args);
50
51 StringCbCat(buf, sizeof(buf), TEXT("\n"));
52
54 }
char * va_list
Definition: acmsvcex.h:78
#define va_end(ap)
Definition: acmsvcex.h:90
#define va_start(ap, A)
Definition: acmsvcex.h:91
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:7751
#define args
Definition: format.c:66
#define StringCbCat
Definition: strsafe.h:334
#define StringCbVPrintf
Definition: strsafe.h:499
Definition: match.c:390
Definition: dsound.c:943
#define OutputDebugString
Definition: winbase.h:3915
char TCHAR
Definition: xmlstorage.h:189

Referenced by anonymous_namespace{mstscax.cpp}::CoClass::Advise(), anonymous_namespace{mstscax.cpp}::CConnectionPoint::Advise(), anonymous_namespace{mstscax.cpp}::CEnumConnectionPoints::Clone(), anonymous_namespace{mstscax.cpp}::CEnumConnections::Clone(), anonymous_namespace{mstscax.cpp}::CoClass::Close(), anonymous_namespace{mstscax.cpp}::CoClass::Connect(), anonymous_namespace{mstscax.cpp}::CoClass::ContextSensitiveHelp(), anonymous_namespace{mstscax.cpp}::ClassFactory::CreateInstance(), anonymous_namespace{mstscax.cpp}::ClassFactory::CreateInstanceLic(), anonymous_namespace{mstscax.cpp}::CoClass::CreateVirtualChannels(), anonymous_namespace{mstscax.cpp}::CoClass::DAdvise(), anonymous_namespace{mstscax.cpp}::CoClass::Disconnect(), DllCanUnloadNow(), DllGetClassObject(), anonymous_namespace{mstscax.cpp}::CoClass::DoVerb(), anonymous_namespace{mstscax.cpp}::CoClass::DUnadvise(), anonymous_namespace{mstscax.cpp}::CoClass::EnableModeless(), anonymous_namespace{mstscax.cpp}::CoClass::EnumAdvise(), anonymous_namespace{mstscax.cpp}::CConnectionPointContainer::EnumConnectionPoints(), anonymous_namespace{mstscax.cpp}::CoClass::EnumConnectionPoints(), anonymous_namespace{mstscax.cpp}::CConnectionPoint::EnumConnections(), anonymous_namespace{mstscax.cpp}::CoClass::EnumDAdvise(), anonymous_namespace{mstscax.cpp}::CoClass::EnumFormatEtc(), anonymous_namespace{mstscax.cpp}::CoClass::EnumVerbs(), anonymous_namespace{mstscax.cpp}::CConnectionPointContainer::FindConnectionPoint(), anonymous_namespace{mstscax.cpp}::CoClass::FindConnectionPoint(), anonymous_namespace{mstscax.cpp}::CoClass::FreezeEvents(), anonymous_namespace{mstscax.cpp}::CoClass::get_AdvancedSettings(), anonymous_namespace{mstscax.cpp}::CoClass::get_AdvancedSettings2(), anonymous_namespace{mstscax.cpp}::CoClass::get_AdvancedSettings3(), anonymous_namespace{mstscax.cpp}::CoClass::get_AdvancedSettings4(), anonymous_namespace{mstscax.cpp}::CoClass::get_AdvancedSettings5(), anonymous_namespace{mstscax.cpp}::CoClass::get_BinaryPassword(), anonymous_namespace{mstscax.cpp}::CoClass::get_BinarySalt(), anonymous_namespace{mstscax.cpp}::CoClass::get_CipherStrength(), anonymous_namespace{mstscax.cpp}::CoClass::get_ColorDepth(), anonymous_namespace{mstscax.cpp}::CoClass::get_Connected(), anonymous_namespace{mstscax.cpp}::CoClass::get_ConnectedStatusText(), anonymous_namespace{mstscax.cpp}::CoClass::get_ConnectingText(), anonymous_namespace{mstscax.cpp}::CoClass::get_Debugger(), anonymous_namespace{mstscax.cpp}::CoClass::get_DesktopHeight(), anonymous_namespace{mstscax.cpp}::CoClass::get_DesktopWidth(), anonymous_namespace{mstscax.cpp}::CoClass::get_DisconnectedText(), anonymous_namespace{mstscax.cpp}::CoClass::get_Domain(), anonymous_namespace{mstscax.cpp}::CoClass::get_ExtendedDisconnectReason(), anonymous_namespace{mstscax.cpp}::CoClass::get_FullScreen(), anonymous_namespace{mstscax.cpp}::CoClass::get_HorizontalScrollBarVisible(), anonymous_namespace{mstscax.cpp}::CoClass::get_PortablePassword(), anonymous_namespace{mstscax.cpp}::CoClass::get_PortableSalt(), anonymous_namespace{mstscax.cpp}::CoClass::get_SecuredSettings(), anonymous_namespace{mstscax.cpp}::CoClass::get_SecuredSettings2(), anonymous_namespace{mstscax.cpp}::CoClass::get_SecuredSettingsEnabled(), anonymous_namespace{mstscax.cpp}::CoClass::get_Server(), anonymous_namespace{mstscax.cpp}::CoClass::get_StartConnected(), anonymous_namespace{mstscax.cpp}::CoClass::get_UserName(), anonymous_namespace{mstscax.cpp}::CoClass::get_Version(), anonymous_namespace{mstscax.cpp}::CoClass::get_VerticalScrollBarVisible(), anonymous_namespace{mstscax.cpp}::CoClass::GetCanonicalFormatEtc(), anonymous_namespace{mstscax.cpp}::CoClass::GetClassID(), anonymous_namespace{mstscax.cpp}::CoClass::GetClassInfo(), anonymous_namespace{mstscax.cpp}::CoClass::GetClientSite(), anonymous_namespace{mstscax.cpp}::CoClass::GetClipboardData(), anonymous_namespace{mstscax.cpp}::CConnectionPoint::GetConnectionInterface(), anonymous_namespace{mstscax.cpp}::CConnectionPoint::GetConnectionPointContainer(), anonymous_namespace{mstscax.cpp}::CoClass::GetControlInfo(), anonymous_namespace{mstscax.cpp}::CoClass::GetData(), anonymous_namespace{mstscax.cpp}::CoClass::GetDataHere(), anonymous_namespace{mstscax.cpp}::CoClass::GetExtent(), anonymous_namespace{mstscax.cpp}::CoClass::GetIDsOfNames(), anonymous_namespace{mstscax.cpp}::ClassFactory::GetLicInfo(), anonymous_namespace{mstscax.cpp}::CoClass::GetMiscStatus(), anonymous_namespace{mstscax.cpp}::CoClass::GetMoniker(), anonymous_namespace{mstscax.cpp}::CoClass::GetTypeInfo(), anonymous_namespace{mstscax.cpp}::CoClass::GetTypeInfoCount(), anonymous_namespace{mstscax.cpp}::CoClass::GetUserClassID(), anonymous_namespace{mstscax.cpp}::CoClass::GetUserType(), anonymous_namespace{mstscax.cpp}::CoClass::GetVirtualChannelOptions(), anonymous_namespace{mstscax.cpp}::CoClass::GetWindow(), anonymous_namespace{mstscax.cpp}::CoClass::HandsOffStorage(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IDispatch::GetIDsOfNames(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IDispatch::GetTypeInfo(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IDispatch::GetTypeInfoCount(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IDispatch::Invoke(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings2::get_CanAutoReconnect(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings2::get_EnableAutoReconnect(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings2::get_MaxReconnectAttempts(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings2::put_EnableAutoReconnect(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings2::put_MaxReconnectAttempts(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings3::get_ConnectionBarShowMinimizeButton(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings3::get_ConnectionBarShowRestoreButton(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings3::put_ConnectionBarShowMinimizeButton(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings3::put_ConnectionBarShowRestoreButton(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings4::get_AuthenticationLevel(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings4::put_AuthenticationLevel(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_AcceleratorPassthrough(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_BitmapCacheSize(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_BitmapPersistence(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_BitmapVirtualCache16BppSize(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_BitmapVirtualCache24BppSize(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_BitmapVirtualCacheSize(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_brushSupportLevel(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_CachePersistenceActive(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_ConnectToServerConsole(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_DedicatedTerminal(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_DisableCtrlAltDel(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_DisplayConnectionBar(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_DoubleClickDetect(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_EnableMouse(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_EnableWindowsKey(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_EncryptionEnabled(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_GrabFocusOnConnect(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_HotKeyAltEsc(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_HotKeyAltShiftTab(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_HotKeyAltSpace(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_HotKeyAltTab(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_HotKeyCtrlAltDel(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_HotKeyCtrlEsc(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_HotKeyFullScreen(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_InputEventsAtOnce(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_keepAliveInterval(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_KeyboardFunctionKey(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_KeyboardSubType(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_KeyboardType(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_LoadBalanceInfo(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_maxEventCount(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_MaximizeShell(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_minInputSendInterval(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_MinutesToIdleTimeout(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_NotifyTSPublicKey(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_NumBitmapCaches(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_orderDrawThreshold(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_overallConnectionTimeout(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_PerformanceFlags(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_PinConnectionBar(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_RdpdrClipCleanTempDirString(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_RdpdrClipPasteInfoString(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_RdpdrLocalPrintingDocName(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_RDPPort(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_RedirectDrives(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_RedirectPorts(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_RedirectPrinters(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_RedirectSmartCards(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_SasSequence(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_ScaleBitmapCachesByBPP(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_ShadowBitmap(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_shutdownTimeout(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_singleConnectionTimeout(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_SmartSizing(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_SmoothScroll(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_TransportType(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::get_WinceFixedPalette(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_AcceleratorPassthrough(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_BitmapCacheSize(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_BitmapPersistence(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_BitmapVirtualCache16BppSize(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_BitmapVirtualCache24BppSize(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_BitmapVirtualCacheSize(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_brushSupportLevel(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_CachePersistenceActive(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_ClearTextPassword(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_ConnectToServerConsole(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_ConnectWithEndpoint(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_DedicatedTerminal(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_DisableCtrlAltDel(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_DisplayConnectionBar(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_DoubleClickDetect(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_EnableMouse(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_EnableWindowsKey(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_EncryptionEnabled(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_GrabFocusOnConnect(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_HotKeyAltEsc(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_HotKeyAltShiftTab(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_HotKeyAltSpace(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_HotKeyAltTab(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_HotKeyCtrlAltDel(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_HotKeyCtrlEsc(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_HotKeyFullScreen(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_InputEventsAtOnce(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_keepAliveInterval(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_KeyboardFunctionKey(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_KeyboardSubType(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_KeyboardType(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_LoadBalanceInfo(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_maxEventCount(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_MaximizeShell(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_minInputSendInterval(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_MinutesToIdleTimeout(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_NotifyTSPublicKey(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_NumBitmapCaches(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_orderDrawThreshold(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_overallConnectionTimeout(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_PerformanceFlags(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_PersistCacheDirectory(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_PinConnectionBar(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_RdpdrClipCleanTempDirString(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_RdpdrClipPasteInfoString(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_RdpdrLocalPrintingDocName(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_RDPPort(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_RedirectDrives(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_RedirectPorts(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_RedirectPrinters(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_RedirectSmartCards(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_SasSequence(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_ScaleBitmapCachesByBPP(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_ShadowBitmap(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_shutdownTimeout(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_singleConnectionTimeout(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_SmartSizing(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_SmoothScroll(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_TransportType(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_WinceFixedPalette(), anonymous_namespace{mstscax.cpp}::CoClass::IMsRdpClientNonScriptable2::get_UIParentWindowHandle(), anonymous_namespace{mstscax.cpp}::CoClass::IMsRdpClientNonScriptable2::put_UIParentWindowHandle(), anonymous_namespace{mstscax.cpp}::CoClass::IMsRdpClientNonScriptable::NotifyRedirectDeviceChange(), anonymous_namespace{mstscax.cpp}::CoClass::IMsRdpClientNonScriptable::SendKeys(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsTscAdvancedSettings::get_allowBackgroundInput(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsTscAdvancedSettings::get_BitmapPeristence(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsTscAdvancedSettings::get_Compress(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsTscAdvancedSettings::get_ContainerHandledFullScreen(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsTscAdvancedSettings::get_DisableRdpdr(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsTscAdvancedSettings::put_allowBackgroundInput(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsTscAdvancedSettings::put_BitmapPeristence(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsTscAdvancedSettings::put_Compress(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsTscAdvancedSettings::put_ContainerHandledFullScreen(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsTscAdvancedSettings::put_DisableRdpdr(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsTscAdvancedSettings::put_IconFile(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsTscAdvancedSettings::put_IconIndex(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsTscAdvancedSettings::put_KeyBoardLayoutStr(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsTscAdvancedSettings::put_PluginDlls(), anonymous_namespace{mstscax.cpp}::CoClass::InitFromData(), anonymous_namespace{mstscax.cpp}::CoClass::InitNew(), anonymous_namespace{mstscax.cpp}::CoClass::InPlaceDeactivate(), anonymous_namespace{mstscax.cpp}::CoClass::Invoke(), anonymous_namespace{mstscax.cpp}::CoClass::IObjectSafety::GetInterfaceSafetyOptions(), anonymous_namespace{mstscax.cpp}::CoClass::IObjectSafety::SetInterfaceSafetyOptions(), anonymous_namespace{mstscax.cpp}::CoClass::IPersistStorage::InitNew(), anonymous_namespace{mstscax.cpp}::CoClass::IPersistStorage::IsDirty(), anonymous_namespace{mstscax.cpp}::CoClass::IPersistStorage::Load(), anonymous_namespace{mstscax.cpp}::CoClass::IPersistStorage::Save(), anonymous_namespace{mstscax.cpp}::CoClass::IPersistStreamInit::GetSizeMax(), anonymous_namespace{mstscax.cpp}::CoClass::IPersistStreamInit::InitNew(), anonymous_namespace{mstscax.cpp}::CoClass::IPersistStreamInit::IsDirty(), anonymous_namespace{mstscax.cpp}::CoClass::IPersistStreamInit::Load(), anonymous_namespace{mstscax.cpp}::CoClass::IPersistStreamInit::Save(), anonymous_namespace{mstscax.cpp}::CoClass::IProvideClassInfo2::GetGUID(), anonymous_namespace{mstscax.cpp}::CoClass::IQuickActivate::GetContentExtent(), anonymous_namespace{mstscax.cpp}::CoClass::IQuickActivate::QuickActivate(), anonymous_namespace{mstscax.cpp}::CoClass::IQuickActivate::SetContentExtent(), anonymous_namespace{mstscax.cpp}::CoClass::ISpecifyPropertyPages::GetPages(), anonymous_namespace{mstscax.cpp}::CoClass::IsUpToDate(), anonymous_namespace{mstscax.cpp}::CoClass::IViewObject2::GetExtent(), anonymous_namespace{mstscax.cpp}::CoClass::IViewObject::Draw(), anonymous_namespace{mstscax.cpp}::CoClass::IViewObject::Freeze(), anonymous_namespace{mstscax.cpp}::CoClass::IViewObject::GetAdvise(), anonymous_namespace{mstscax.cpp}::CoClass::IViewObject::GetColorSet(), anonymous_namespace{mstscax.cpp}::CoClass::IViewObject::SetAdvise(), anonymous_namespace{mstscax.cpp}::CoClass::IViewObject::Unfreeze(), anonymous_namespace{mstscax.cpp}::CoClass::Load(), anonymous_namespace{mstscax.cpp}::ClassFactory::LockServer(), anonymous_namespace{mstscax.cpp}::CEnumConnections::Next(), anonymous_namespace{mstscax.cpp}::CEnumConnectionPoints::Next(), anonymous_namespace{mstscax.cpp}::CoClass::OnAmbientPropertyChange(), anonymous_namespace{mstscax.cpp}::CoClass::OnDocWindowActivate(), anonymous_namespace{mstscax.cpp}::CoClass::OnFrameWindowActivate(), anonymous_namespace{mstscax.cpp}::CoClass::OnMnemonic(), anonymous_namespace{mstscax.cpp}::CoClass::put_BinaryPassword(), anonymous_namespace{mstscax.cpp}::CoClass::put_BinarySalt(), anonymous_namespace{mstscax.cpp}::CoClass::put_ClearTextPassword(), anonymous_namespace{mstscax.cpp}::CoClass::put_ColorDepth(), anonymous_namespace{mstscax.cpp}::CoClass::put_ConnectedStatusText(), anonymous_namespace{mstscax.cpp}::CoClass::put_ConnectingText(), anonymous_namespace{mstscax.cpp}::CoClass::put_DesktopHeight(), anonymous_namespace{mstscax.cpp}::CoClass::put_DesktopWidth(), anonymous_namespace{mstscax.cpp}::CoClass::put_DisconnectedText(), anonymous_namespace{mstscax.cpp}::CoClass::put_Domain(), anonymous_namespace{mstscax.cpp}::CoClass::put_FullScreen(), anonymous_namespace{mstscax.cpp}::CoClass::put_FullScreenTitle(), anonymous_namespace{mstscax.cpp}::CoClass::put_PortablePassword(), anonymous_namespace{mstscax.cpp}::CoClass::put_PortableSalt(), anonymous_namespace{mstscax.cpp}::CoClass::put_Server(), anonymous_namespace{mstscax.cpp}::CoClass::put_StartConnected(), anonymous_namespace{mstscax.cpp}::CoClass::put_UserName(), anonymous_namespace{mstscax.cpp}::CoClass::QueryGetData(), anonymous_namespace{mstscax.cpp}::CConnectionPointContainer::QueryInterface(), anonymous_namespace{mstscax.cpp}::CEnumConnectionPoints::QueryInterface(), anonymous_namespace{mstscax.cpp}::CConnectionPoint::QueryInterface(), anonymous_namespace{mstscax.cpp}::CEnumConnections::QueryInterface(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::QueryInterface(), anonymous_namespace{mstscax.cpp}::CoClass::queryInterface(), anonymous_namespace{mstscax.cpp}::ClassFactory::QueryInterface(), anonymous_namespace{mstscax.cpp}::CoClass::ReactivateAndUndo(), anonymous_namespace{mstscax.cpp}::CoClass::RequestClose(), anonymous_namespace{mstscax.cpp}::ClassFactory::RequestLicKey(), anonymous_namespace{mstscax.cpp}::CEnumConnectionPoints::Reset(), anonymous_namespace{mstscax.cpp}::CEnumConnections::Reset(), anonymous_namespace{mstscax.cpp}::CoClass::ResetPassword(), anonymous_namespace{mstscax.cpp}::CoClass::ResizeBorder(), anonymous_namespace{mstscax.cpp}::CoClass::Save(), anonymous_namespace{mstscax.cpp}::CoClass::SaveCompleted(), anonymous_namespace{mstscax.cpp}::CoClass::SendOnVirtualChannel(), anonymous_namespace{mstscax.cpp}::CoClass::SetClientSite(), anonymous_namespace{mstscax.cpp}::CoClass::SetColorScheme(), anonymous_namespace{mstscax.cpp}::CoClass::SetData(), anonymous_namespace{mstscax.cpp}::CoClass::SetExtent(), anonymous_namespace{mstscax.cpp}::CoClass::SetHostNames(), anonymous_namespace{mstscax.cpp}::CoClass::SetMoniker(), anonymous_namespace{mstscax.cpp}::CoClass::SetObjectRects(), anonymous_namespace{mstscax.cpp}::CoClass::SetVirtualChannelOptions(), anonymous_namespace{mstscax.cpp}::CEnumConnectionPoints::Skip(), anonymous_namespace{mstscax.cpp}::CEnumConnections::Skip(), STDAPI_(), anonymous_namespace{mstscax.cpp}::CoClass::TranslateAccelerator(), anonymous_namespace{mstscax.cpp}::CoClass::UIDeactivate(), anonymous_namespace{mstscax.cpp}::CoClass::Unadvise(), anonymous_namespace{mstscax.cpp}::CConnectionPoint::Unadvise(), and anonymous_namespace{mstscax.cpp}::CoClass::Update().

◆ DllCanUnloadNow()

STDAPI anonymous_namespace{mstscax.cpp}::DllCanUnloadNow ( void  )

Definition at line 4988 of file mstscax.cpp.

4989 {
4990 init();
4991
4992 dbgprintf(TEXT("DllCanUnloadNow()"));
4994 dbgprintf(TEXT("DllCanUnloadNow -> %08X"), hr);
4995
4996 return hr;
4997 }
void dbgprintf(LPCTSTR fmt,...)
Definition: mstscax.cpp:42
PFNDLLCANUNLOADNOW pfnDllCanUnloadNow
Definition: mstscax.cpp:12
HRESULT hr
Definition: shlfolder.c:183

◆ DllGetClassObject()

STDAPI anonymous_namespace{mstscax.cpp}::DllGetClassObject ( IN REFCLSID  rclsid,
IN REFIID  riid,
OUT LPVOID ppv 
)

Definition at line 4955 of file mstscax.cpp.

4956 {
4957 init();
4958
4959 dbgprintf(TEXT("DllGetClassObject(%ls, %ls, %p)"), UUIDToString(rclsid).c_str(), UUIDToString(riid).c_str(), ppv);
4961 dbgprintf(TEXT("DllGetClassObject -> %08X, pv = %p"), hr, *ppv);
4962
4963 IUnknown * pv = NULL;
4964
4965 if(SUCCEEDED(hr))
4966 {
4967 IUnknown * punk = (IUnknown *)*ppv;
4968
4969 if(rclsid == CLSID_MsTscAx || rclsid == CLSID_MsRdpClient || rclsid == CLSID_MsRdpClient2 || rclsid == CLSID_MsRdpClient3 || rclsid == CLSID_MsRdpClient4)
4970 pv = new ClassFactory(punk);
4971 else
4973
4974 punk->Release();
4975 }
4976
4977 if(pv)
4978 {
4979 hr = pv->QueryInterface(riid, ppv);
4980
4981 if(FAILED(hr))
4982 pv->Release();
4983 }
4984
4985 return hr;
4986 }
const GUID IID_IUnknown
#define NULL
Definition: types.h:112
REFIID riid
Definition: atlbase.h:39
REFIID LPVOID * ppv
Definition: atlbase.h:39
HRESULT QueryInterface([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
ULONG Release()
#define SUCCEEDED(hr)
Definition: intsafe.h:50
#define FAILED(hr)
Definition: intsafe.h:51
EXTERN_C const CLSID CLSID_MsRdpClient
Definition: mstsclib_h.h:8903
EXTERN_C const CLSID CLSID_MsRdpClient4
Definition: mstsclib_h.h:8927
EXTERN_C const CLSID CLSID_MsRdpClient3
Definition: mstsclib_h.h:8919
EXTERN_C const CLSID CLSID_MsRdpClient2
Definition: mstsclib_h.h:8911
EXTERN_C const CLSID CLSID_MsTscAx
Definition: mstsclib_h.h:8895
PFNDLLGETCLASSOBJECT pfnDllGetClassObject
Definition: mstscax.cpp:11
std::wstring UUIDToString(const UUID &uuid)
Definition: mstscax.cpp:110
#define CLASS_E_CLASSNOTAVAILABLE
Definition: winerror.h:2663

◆ HookIConnectionPoint()

◆ HookIConnectionPointContainer()

IConnectionPointContainer * anonymous_namespace{mstscax.cpp}::HookIConnectionPointContainer ( IConnectionPointContainer p)

◆ HookIEnumConnectionPoints()

◆ HookIEnumConnections()

◆ init()

void anonymous_namespace{mstscax.cpp}::init ( void  )

Definition at line 20 of file mstscax.cpp.

21 {
22 if(hmMstscax)
23 return;
24
25 TCHAR szFileName[MAX_PATH + 1];
26 GetModuleFileName(hmSelf, szFileName, MAX_PATH);
27
28 std::basic_string<TCHAR> strFileName(&szFileName[0]);
29 std::reverse_iterator<std::basic_string<TCHAR>::const_iterator > begin(strFileName.end());
30 std::reverse_iterator<std::basic_string<TCHAR>::const_iterator > end(strFileName.begin());
31 std::basic_string<TCHAR>::const_iterator endPath = std::find(begin, end, TEXT('\\')).base();
32
33 std::basic_string<TCHAR> strPath(strFileName.begin(), endPath);
34 strPath.append(TEXT("original\\mstscax.dll"));
35
36 hmMstscax = LoadLibrary(strPath.c_str());
40 }
#define GetProcAddress(x, y)
Definition: compat.h:753
#define MAX_PATH
Definition: compat.h:34
GLuint GLuint end
Definition: gl.h:1545
HRESULT(STDAPICALLTYPE * PFNDLLCANUNLOADNOW)(void)
Definition: mstscax.cpp:8
HRESULT(STDAPICALLTYPE * PFNDLLGETCLASSOBJECT)(IN REFCLSID rclsid, IN REFIID riid, OUT LPVOID FAR *ppv)
Definition: mstscax.cpp:7
PFNDLLGETTSCCTLVER pfnDllGetTscCtlVer
Definition: mstscax.cpp:13
static const HMODULE hmSelf
Definition: mstscax.cpp:18
ULONG(STDAPICALLTYPE * PFNDLLGETTSCCTLVER)(void)
Definition: mstscax.cpp:9
#define LoadLibrary
Definition: winbase.h:3887
#define GetModuleFileName
Definition: winbase.h:3856
static clock_t begin
Definition: xmllint.c:458

Referenced by DllCanUnloadNow(), DllGetClassObject(), and STDAPI_().

◆ MonikerToString()

std::wstring anonymous_namespace{mstscax.cpp}::MonikerToString ( IMoniker pmk)

Definition at line 120 of file mstscax.cpp.

121 {
122 LPOLESTR pszName = NULL;
123
124 if(SUCCEEDED(pmk->GetDisplayName(NULL, NULL, &pszName)))
125 {
126 std::wstring s(pszName);
127 CoTaskMemFree(pszName);
128 return s;
129 }
130 else
131 return std::wstring(L"<error>");
132 }
GLdouble s
Definition: gl.h:2039
VOID WINAPI CoTaskMemFree(LPVOID ptr)
Definition: ifs.c:442
HRESULT GetDisplayName([in, unique] IBindCtx *pbc, [in, unique] IMoniker *pmkToLeft, [out] LPOLESTR *ppszDisplayName)
static LPOLESTR
Definition: stg_prop.c:27
#define L(x)
Definition: ntvdm.h:50

Referenced by anonymous_namespace{mstscax.cpp}::CoClass::GetMoniker(), and anonymous_namespace{mstscax.cpp}::CoClass::SetMoniker().

◆ RectToString() [1/2]

std::basic_string< TCHAR > anonymous_namespace{mstscax.cpp}::RectToString ( const RECT rc)

Definition at line 134 of file mstscax.cpp.

135 {
136 if(&rc == NULL)
137 return TEXT("<null>");
138
139 std::basic_ostringstream<TCHAR> o;
140 o << "{" << " left:" << rc.left << " top:" << rc.top << " right:" << rc.right << " bottom:" << rc.bottom << " }";
141 return o.str();
142 }
LONG right
Definition: windef.h:308
LONG bottom
Definition: windef.h:309
LONG top
Definition: windef.h:307
LONG left
Definition: windef.h:306

Referenced by anonymous_namespace{mstscax.cpp}::CoClass::DoVerb(), anonymous_namespace{mstscax.cpp}::CoClass::IViewObject::Draw(), anonymous_namespace{mstscax.cpp}::CoClass::ResizeBorder(), and anonymous_namespace{mstscax.cpp}::CoClass::SetObjectRects().

◆ RectToString() [2/2]

std::basic_string< TCHAR > anonymous_namespace{mstscax.cpp}::RectToString ( const RECTL rc)

Definition at line 144 of file mstscax.cpp.

145 {
146 if(&rc == NULL)
147 return TEXT("<null>");
148
149 std::basic_ostringstream<TCHAR> o;
150 o << "{" << " left:" << rc.left << " top:" << rc.top << " right:" << rc.right << " bottom:" << rc.bottom << " }";
151 return o.str();
152 }
long bottom
Definition: polytest.cpp:53
long right
Definition: polytest.cpp:53
long top
Definition: polytest.cpp:53
long left
Definition: polytest.cpp:53

◆ SizeToString()

std::basic_string< TCHAR > anonymous_namespace{mstscax.cpp}::SizeToString ( const SIZE sz)

Definition at line 154 of file mstscax.cpp.

155 {
156 if(&sz == NULL)
157 return TEXT("<null>");
158
159 std::basic_ostringstream<TCHAR> o;
160 o << "{ " << " cx:" << sz.cx << " cy:" << sz.cy << " }";
161 return o.str();
162 }
LONG cx
Definition: kdterminal.h:27
LONG cy
Definition: kdterminal.h:28

Referenced by anonymous_namespace{mstscax.cpp}::CoClass::GetExtent(), anonymous_namespace{mstscax.cpp}::CoClass::IQuickActivate::GetContentExtent(), anonymous_namespace{mstscax.cpp}::CoClass::IQuickActivate::SetContentExtent(), anonymous_namespace{mstscax.cpp}::CoClass::IViewObject2::GetExtent(), and anonymous_namespace{mstscax.cpp}::CoClass::SetExtent().

◆ STDAPI_()

anonymous_namespace{mstscax.cpp}::STDAPI_ ( ULONG  )

Definition at line 4999 of file mstscax.cpp.

5000 {
5001 init();
5002
5003 dbgprintf(TEXT("DllGetTscCtlVer()"));
5005 dbgprintf(TEXT("DllGetTscCtlVer-> %08X"), ul);
5006
5007 return ul;
5008 }
uint32_t ULONG
Definition: typedefs.h:59

◆ UUIDToString()

std::wstring anonymous_namespace{mstscax.cpp}::UUIDToString ( const UUID uuid)

Definition at line 110 of file mstscax.cpp.

111 {
112 std::wstring s;
115 s += str;
117 return s;
118 }
HRESULT WINAPI StringFromCLSID(REFCLSID id, LPOLESTR *idstr)
Definition: compobj.c:2412
Definition: msctf.idl:550
const WCHAR * str

Referenced by anonymous_namespace{mstscax.cpp}::CoClass::CauuidToString(), anonymous_namespace{mstscax.cpp}::ClassFactory::CreateInstance(), anonymous_namespace{mstscax.cpp}::ClassFactory::CreateInstanceLic(), DllGetClassObject(), anonymous_namespace{mstscax.cpp}::CConnectionPointContainer::FindConnectionPoint(), anonymous_namespace{mstscax.cpp}::CoClass::FindConnectionPoint(), anonymous_namespace{mstscax.cpp}::CoClass::GetClassID(), anonymous_namespace{mstscax.cpp}::CConnectionPoint::GetConnectionInterface(), anonymous_namespace{mstscax.cpp}::CoClass::GetIDsOfNames(), anonymous_namespace{mstscax.cpp}::CoClass::GetUserClassID(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IDispatch::GetIDsOfNames(), anonymous_namespace{mstscax.cpp}::CoClass::Invoke(), anonymous_namespace{mstscax.cpp}::CoClass::IObjectSafety::GetInterfaceSafetyOptions(), anonymous_namespace{mstscax.cpp}::CoClass::IObjectSafety::SetInterfaceSafetyOptions(), anonymous_namespace{mstscax.cpp}::CoClass::IProvideClassInfo2::GetGUID(), anonymous_namespace{mstscax.cpp}::CConnectionPointContainer::QueryInterface(), anonymous_namespace{mstscax.cpp}::CEnumConnectionPoints::QueryInterface(), anonymous_namespace{mstscax.cpp}::CConnectionPoint::QueryInterface(), anonymous_namespace{mstscax.cpp}::CEnumConnections::QueryInterface(), anonymous_namespace{mstscax.cpp}::CAdvancedSettings::QueryInterface(), anonymous_namespace{mstscax.cpp}::CoClass::queryInterface(), and anonymous_namespace{mstscax.cpp}::ClassFactory::QueryInterface().

◆ VariantToString()

std::basic_string< TCHAR > anonymous_namespace{mstscax.cpp}::VariantToString ( const VARIANT var)

Definition at line 169 of file mstscax.cpp.

170 {
171 std::basic_ostringstream<TCHAR> o;
172
173 switch(var.vt & VT_TYPEMASK)
174 {
175 case VT_EMPTY: o << "<empty>"; break;
176 case VT_NULL: o << "<null>"; break;
177 case VT_I2: o << "short"; break;
178 case VT_I4: o << "long"; break;
179 case VT_R4: o << "float"; break;
180 case VT_R8: o << "double"; break;
181 case VT_CY: o << "CURRENCY"; break;
182 case VT_DATE: o << "DATE"; break;
183 case VT_BSTR: o << "string"; break;
184 case VT_DISPATCH: o << "IDispatch *"; break;
185 case VT_ERROR: o << "SCODE"; break;
186 case VT_BOOL: o << "bool"; break;
187 case VT_VARIANT: o << "VARIANT *"; break;
188 case VT_UNKNOWN: o << "IUnknown *"; break;
189 case VT_DECIMAL: o << "DECIMAL"; break;
190 case VT_I1: o << "char"; break;
191 case VT_UI1: o << "unsigned char"; break;
192 case VT_UI2: o << "unsigned short"; break;
193 case VT_UI4: o << "unsigned long"; break;
194 case VT_I8: o << "long long"; break;
195 case VT_UI8: o << "unsigned long long"; break;
196 case VT_INT: o << "int"; break;
197 case VT_UINT: o << "unsigned int"; break;
198 case VT_VOID: o << "void"; break;
199 case VT_HRESULT: o << "HRESULT"; break;
200 case VT_PTR: o << "void *"; break;
201 case VT_SAFEARRAY: o << "SAFEARRAY *"; break;
202 case VT_LPSTR: o << "LPSTR"; break;
203 case VT_LPWSTR: o << "LPWSTR"; break;
204 case VT_RECORD: o << "struct { }"; break;
205 case VT_INT_PTR: o << "intptr_t"; break;
206 case VT_UINT_PTR: o << "uintptr_t"; break;
207 case VT_FILETIME: o << "FILETIME"; break;
208 default: o << "???"; break;
209 }
210
211 if(var.vt & VT_ARRAY)
212 o << "[]";
213 else if(var.vt & VT_BYREF)
214 o << " *";
215 else
216 {
217 switch(var.vt & VT_TYPEMASK)
218 {
219 case VT_EMPTY:
220 case VT_NULL:
221 case VT_RECORD:
222 case VT_VOID:
223
224 // TODO
225 case VT_CY:
226 case VT_DATE:
227 case VT_DECIMAL:
228 case VT_FILETIME:
229 break;
230
231 default:
232 o << " = ";
233 }
234
235 switch(var.vt & VT_TYPEMASK)
236 {
237 case VT_I2: o << var.iVal; break;
238 case VT_I4: o << var.lVal; break;
239 case VT_R4: o << var.fltVal; break;
240 case VT_R8: o << var.dblVal; break;
241 case VT_BSTR: o << std::wstring(var.bstrVal, var.bstrVal + SysStringLen(var.bstrVal)); break;
242 case VT_BOOL: o << var.boolVal ? "true" : "false"; break;
243 case VT_I1: o << int(var.cVal); break;
244 case VT_UI1: o << unsigned int(var.bVal); break;
245 case VT_UI2: o << var.uiVal; break;
246 case VT_UI4: o << var.ulVal; break;
247 case VT_I8: o << var.llVal; break;
248 case VT_UI8: o << var.ullVal; break;
249 case VT_INT: o << var.intVal; break;
250 case VT_UINT: o << var.uintVal; break;
251 case VT_LPSTR: o << LPSTR(var.byref); break;
252 case VT_LPWSTR: o << LPWSTR(var.byref); break;
253 case VT_INT_PTR: o << var.intVal; break; // BUGBUG
254 case VT_UINT_PTR: o << var.uintVal; break; // BUGBUG
255
256 case VT_DISPATCH:
257 case VT_VARIANT:
258 case VT_UNKNOWN:
259 case VT_PTR:
260 case VT_SAFEARRAY:
261 case VT_RECORD:
262 o << var.byref; break;
263
264 case VT_ERROR:
265 case VT_HRESULT:
266 o << std::hex << var.ulVal; break;
267
268 case VT_EMPTY:
269 case VT_NULL:
270 case VT_VOID:
271 break;
272
273 default:
274 assert(0);
275 }
276 }
277
278 return o.str();
279 }
@ VT_UI8
Definition: compat.h:2315
@ VT_BSTR
Definition: compat.h:2303
@ VT_VOID
Definition: compat.h:2318
@ VT_INT
Definition: compat.h:2316
@ VT_LPSTR
Definition: compat.h:2324
@ VT_R4
Definition: compat.h:2299
@ VT_UINT_PTR
Definition: compat.h:2328
@ VT_NULL
Definition: compat.h:2296
@ VT_UNKNOWN
Definition: compat.h:2308
@ VT_TYPEMASK
Definition: compat.h:2346
@ VT_BYREF
Definition: compat.h:2342
@ VT_PTR
Definition: compat.h:2320
@ VT_UI2
Definition: compat.h:2312
@ VT_DECIMAL
Definition: compat.h:2309
@ VT_ERROR
Definition: compat.h:2305
@ VT_ARRAY
Definition: compat.h:2341
@ VT_SAFEARRAY
Definition: compat.h:2321
@ VT_LPWSTR
Definition: compat.h:2325
@ VT_R8
Definition: compat.h:2300
@ VT_CY
Definition: compat.h:2301
@ VT_VARIANT
Definition: compat.h:2307
@ VT_I8
Definition: compat.h:2314
@ VT_I1
Definition: compat.h:2310
@ VT_I4
Definition: compat.h:2298
@ VT_HRESULT
Definition: compat.h:2319
@ VT_FILETIME
Definition: compat.h:2329
@ VT_INT_PTR
Definition: compat.h:2327
@ VT_DATE
Definition: compat.h:2302
@ VT_BOOL
Definition: compat.h:2306
@ VT_I2
Definition: compat.h:2297
@ VT_UI4
Definition: compat.h:2313
@ VT_UINT
Definition: compat.h:2317
@ VT_EMPTY
Definition: compat.h:2295
@ VT_RECORD
Definition: compat.h:2326
@ VT_DISPATCH
Definition: compat.h:2304
@ VT_UI1
Definition: compat.h:2311
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
Definition: typeof.h:31
#define assert(x)
Definition: debug.h:53
const char * var
Definition: shader.c:5666
UINT WINAPI SysStringLen(BSTR str)
Definition: oleaut.c:196
char * LPSTR
Definition: xmlstorage.h:182
WCHAR * LPWSTR
Definition: xmlstorage.h:184

Referenced by anonymous_namespace{mstscax.cpp}::CAdvancedSettings::IMsRdpClientAdvancedSettings::put_ConnectWithEndpoint(), and anonymous_namespace{mstscax.cpp}::CoClass::Invoke().

Variable Documentation

◆ __ImageBase

char anonymous_namespace{mstscax.cpp}::__ImageBase

Definition at line 17 of file mstscax.cpp.

◆ hmMstscax

HMODULE anonymous_namespace{mstscax.cpp}::hmMstscax = NULL

Definition at line 15 of file mstscax.cpp.

Referenced by init().

◆ hmSelf

const HMODULE anonymous_namespace{mstscax.cpp}::hmSelf = reinterpret_cast<HMODULE>(&__ImageBase)
static

Definition at line 18 of file mstscax.cpp.

Referenced by init().

◆ pfnDllCanUnloadNow

PFNDLLCANUNLOADNOW anonymous_namespace{mstscax.cpp}::pfnDllCanUnloadNow = NULL

Definition at line 12 of file mstscax.cpp.

Referenced by DllCanUnloadNow(), and init().

◆ pfnDllGetClassObject

PFNDLLGETCLASSOBJECT anonymous_namespace{mstscax.cpp}::pfnDllGetClassObject = NULL

Definition at line 11 of file mstscax.cpp.

Referenced by DllGetClassObject(), and init().

◆ pfnDllGetTscCtlVer

PFNDLLGETTSCCTLVER anonymous_namespace{mstscax.cpp}::pfnDllGetTscCtlVer = NULL

Definition at line 13 of file mstscax.cpp.

Referenced by init(), and STDAPI_().