The C++ framework for developing highly scalable, high performance servers on Windows platforms.

Utils.cpp File Reference


namespace  JetByteTools
namespace  JetByteTools::COM


bool WaitWithMessageLoop (HANDLE hEvent, DWORD timeout)
void RestartStream (IStream *pIStream)
IStream * MarshalInterThreadInterfaceInStream (IUnknown *pUnknown, REFIID iid)
HRESULT CreateSafeArray (const BYTE *pData, DWORD dataLength, VARIANT *ppResults)
HRESULT GetOptionalDWORD (VARIANT &source, DWORD &result, const DWORD defaultValue)
static HRESULT GetOptionalBSTRInternal (VARIANT &source, BSTR &result, const OLECHAR *pDefault, const UINT defaultLength)
HRESULT GetOptionalBSTR (VARIANT &source, BSTR &result)
HRESULT GetOptionalBSTR (VARIANT &source, BSTR &result, const BSTR &defaultValue)
HRESULT GetOptionalString (VARIANT &source, std::wstring &result, const std::wstring &defaultValue)
HRESULT GetOptionalString (VARIANT &source, std::string &result, const std::string &defaultValue)
HRESULT GetOptionalBool (VARIANT &source, bool &result, const bool &defaultValue)

Generated on Sun Sep 12 19:06:45 2021 for The Server Framework - v7.4 by doxygen 1.5.3