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

Utils.h 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)
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)
template<class I>
I * SafeRelease (I *pI)
template<class I>
I * SafeAddRef (I *pI)
template<class I>
IUnknown * SafeQI (I *pI, const IID &iid)

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