ReactOS  0.4.12-dev-75-g00dd17e
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.

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().

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

◆ dbgprintf()

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

Definition at line 42 of file mstscax.cpp.

Referenced by anonymous_namespace{mstscax.cpp}::CConnectionPoint::Advise(), anonymous_namespace{mstscax.cpp}::CoClass::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}::CEnumConnectionPoints::Next(), anonymous_namespace{mstscax.cpp}::CEnumConnections::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}::CConnectionPoint::Unadvise(), anonymous_namespace{mstscax.cpp}::CoClass::Unadvise(), and anonymous_namespace{mstscax.cpp}::CoClass::Update().

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

◆ DllCanUnloadNow()

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

Definition at line 4988 of file mstscax.cpp.

4989  {
4990  init();
4991 
4992  dbgprintf(TEXT("DllCanUnloadNow()"));
4993  HRESULT hr = pfnDllCanUnloadNow();
4994  dbgprintf(TEXT("DllCanUnloadNow -> %08X"), hr);
4995 
4996  return hr;
4997  }
PFNDLLCANUNLOADNOW pfnDllCanUnloadNow
Definition: mstscax.cpp:12
LONG HRESULT
Definition: typedefs.h:77
#define TEXT(s)
Definition: k32.h:26
void dbgprintf(LPCTSTR fmt,...)
Definition: mstscax.cpp:42

◆ 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  }
EXTERN_C const CLSID CLSID_MsRdpClient2
Definition: activex.cpp:8912
REFIID riid
Definition: precomp.h:44
REFIID LPVOID * ppv
Definition: atlbase.h:39
#define CLASS_E_CLASSNOTAVAILABLE
Definition: winerror.h:2663
DWORD void * pv
Definition: msvc.h:87
ULONG Release()
smooth NULL
Definition: ftsmooth.c:416
EXTERN_C const CLSID CLSID_MsRdpClient3
Definition: activex.cpp:8920
std::wstring UUIDToString(const UUID &uuid)
Definition: mstscax.cpp:110
PFNDLLGETCLASSOBJECT pfnDllGetClassObject
Definition: mstscax.cpp:11
LONG HRESULT
Definition: typedefs.h:77
const GUID IID_IUnknown
EXTERN_C const CLSID CLSID_MsRdpClient4
Definition: activex.cpp:8928
EXTERN_C const CLSID CLSID_MsRdpClient
Definition: activex.cpp:8904
#define TEXT(s)
Definition: k32.h:26
HRESULT QueryInterface([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
struct tagClassFactory ClassFactory
void dbgprintf(LPCTSTR fmt,...)
Definition: mstscax.cpp:42
#define SUCCEEDED(hr)
Definition: intsafe.h:57
EXTERN_C const CLSID CLSID_MsTscAx
Definition: activex.cpp:8789

◆ HookIConnectionPoint()

◆ HookIConnectionPointContainer()

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

Definition at line 629 of file mstscax.cpp.

Referenced by anonymous_namespace{mstscax.cpp}::CConnectionPoint::GetConnectionPointContainer(), and VariantToString().

630  {
631  return new CConnectionPointContainer(p);
632  }

◆ HookIEnumConnectionPoints()

◆ HookIEnumConnections()

IEnumConnections * anonymous_namespace{mstscax.cpp}::HookIEnumConnections ( IEnumConnections p)

Definition at line 644 of file mstscax.cpp.

Referenced by anonymous_namespace{mstscax.cpp}::CEnumConnections::Clone(), anonymous_namespace{mstscax.cpp}::CConnectionPoint::EnumConnections(), and VariantToString().

645  {
646  return new CEnumConnections(p);
647  }

◆ init()

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

Definition at line 20 of file mstscax.cpp.

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

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 LoadLibrary
Definition: winbase.h:3676
PFNDLLCANUNLOADNOW pfnDllCanUnloadNow
Definition: mstscax.cpp:12
PFNDLLGETTSCCTLVER pfnDllGetTscCtlVer
Definition: mstscax.cpp:13
ULONG(STDAPICALLTYPE * PFNDLLGETTSCCTLVER)(void)
Definition: mstscax.cpp:9
GLuint GLuint end
Definition: gl.h:1545
static clock_t begin
Definition: xmllint.c:466
char TCHAR
Definition: xmlstorage.h:189
PFNDLLGETCLASSOBJECT pfnDllGetClassObject
Definition: mstscax.cpp:11
#define MAX_PATH
Definition: compat.h:26
#define GetModuleFileName
Definition: winbase.h:3645
HRESULT(STDAPICALLTYPE * PFNDLLCANUNLOADNOW)(void)
Definition: mstscax.cpp:8
static const HMODULE hmSelf
Definition: mstscax.cpp:18
#define TEXT(s)
Definition: k32.h:26
static TAGID TAGID find
Definition: db.cpp:143
#define GetProcAddress(x, y)
Definition: compat.h:410
HRESULT(STDAPICALLTYPE * PFNDLLGETCLASSOBJECT)(IN REFCLSID rclsid, IN REFIID riid, OUT LPVOID FAR *ppv)
Definition: mstscax.cpp:7

◆ MonikerToString()

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

Definition at line 120 of file mstscax.cpp.

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

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  }
VOID WINAPI CoTaskMemFree(LPVOID ptr)
Definition: ifs.c:422
static LPOLESTR
Definition: stg_prop.c:33
smooth NULL
Definition: ftsmooth.c:416
HRESULT GetDisplayName([in, unique] IBindCtx *pbc, [in, unique] IMoniker *pmkToLeft, [out] LPOLESTR *ppszDisplayName)
static const WCHAR L[]
Definition: oid.c:1087
GLdouble s
Definition: gl.h:2039
#define SUCCEEDED(hr)
Definition: intsafe.h:57

◆ 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 top
Definition: windef.h:297
#define o(x)
Definition: extensions.c:56
LONG left
Definition: windef.h:296
LONG right
Definition: windef.h:298
smooth NULL
Definition: ftsmooth.c:416
#define TEXT(s)
Definition: k32.h:26
LONG bottom
Definition: windef.h:299

◆ RectToString() [2/2]

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

Definition at line 144 of file mstscax.cpp.

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().

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
#define o(x)
Definition: extensions.c:56
long right
Definition: polytest.cpp:53
long top
Definition: polytest.cpp:53
smooth NULL
Definition: ftsmooth.c:416
long left
Definition: polytest.cpp:53
#define TEXT(s)
Definition: k32.h:26

◆ SizeToString()

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

Definition at line 154 of file mstscax.cpp.

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().

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  }
#define o(x)
Definition: extensions.c:56
smooth NULL
Definition: ftsmooth.c:416
LONG cx
Definition: windef.h:324
#define TEXT(s)
Definition: k32.h:26
LONG cy
Definition: windef.h:325

◆ STDAPI_()

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

Definition at line 4999 of file mstscax.cpp.

5000  {
5001  init();
5002 
5003  dbgprintf(TEXT("DllGetTscCtlVer()"));
5004  ULONG ul = pfnDllGetTscCtlVer();
5005  dbgprintf(TEXT("DllGetTscCtlVer-> %08X"), ul);
5006 
5007  return ul;
5008  }
PFNDLLGETTSCCTLVER pfnDllGetTscCtlVer
Definition: mstscax.cpp:13
#define TEXT(s)
Definition: k32.h:26
unsigned int ULONG
Definition: retypes.h:1
void dbgprintf(LPCTSTR fmt,...)
Definition: mstscax.cpp:42

◆ UUIDToString()

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

Definition at line 110 of file mstscax.cpp.

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().

111  {
112  std::wstring s;
113  LPOLESTR str;
114  StringFromCLSID(uuid, &str);
115  s += str;
116  CoTaskMemFree(str);
117  return s;
118  }
VOID WINAPI CoTaskMemFree(LPVOID ptr)
Definition: ifs.c:422
static LPOLESTR
Definition: stg_prop.c:33
const WCHAR * str
GLdouble s
Definition: gl.h:2039
HRESULT WINAPI StringFromCLSID(REFCLSID id, LPOLESTR *idstr)
Definition: compobj.c:2324

◆ VariantToString()

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

Definition at line 169 of file mstscax.cpp.

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

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  }
BYTE bVal
Definition: compat.h:2025
Definition: compat.h:1932
Definition: compat.h:1948
Definition: compat.h:1944
VARIANT_BOOL boolVal
Definition: compat.h:2030
#define o(x)
Definition: extensions.c:56
#define assert(x)
Definition: debug.h:53
PVOID byref
Definition: compat.h:2055
char * LPSTR
Definition: xmlstorage.h:182
static const char hex[16]
Definition: profile.c:123
ULONG ulVal
Definition: compat.h:2022
SHORT iVal
Definition: compat.h:2026
LONG lVal
Definition: compat.h:2027
INT intVal
Definition: compat.h:2023
UINT uintVal
Definition: compat.h:2024
LONGLONG llVal
Definition: compat.h:2038
USHORT uiVal
Definition: compat.h:2021
Definition: compat.h:1933
UINT WINAPI SysStringLen(BSTR str)
Definition: oleaut.c:200
Definition: compat.h:1935
signed char cVal
Definition: compat.h:2020
FLOAT fltVal
Definition: compat.h:2028
VARTYPE vt
Definition: compat.h:2015
ULONGLONG ullVal
Definition: compat.h:2039
BSTR bstrVal
Definition: compat.h:2033
WCHAR * LPWSTR
Definition: xmlstorage.h:184
Definition: compat.h:1934
Definition: compat.h:1931
DOUBLE dblVal
Definition: compat.h:2029
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
Definition: typeof.h:29

Variable Documentation

◆ __ImageBase

char anonymous_namespace{mstscax.cpp}::__ImageBase

This file has no copyright assigned and is placed in the Public Domain. This file is part of the w64 mingw-runtime package. No warranty is given; refer to the file DISCLAIMER.PD within this package.

Definition at line 17 of file mstscax.cpp.

Referenced by IndexFromPImgThunkData(), LoadBootDeviceDriver(), PFromRva(), and ScsiPortWriteRegisterUshort().

◆ hmMstscax

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

Definition at line 15 of file mstscax.cpp.

◆ hmSelf

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

Definition at line 18 of file mstscax.cpp.

◆ pfnDllCanUnloadNow

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

Definition at line 12 of file mstscax.cpp.

Referenced by DllCanUnloadNow().

◆ pfnDllGetClassObject

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

Definition at line 11 of file mstscax.cpp.

Referenced by DllGetClassObject().

◆ pfnDllGetTscCtlVer

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

Definition at line 13 of file mstscax.cpp.

Referenced by STDAPI_().