win32_misc.h File Reference

Go to the source code of this file.

Classes

class  registerclass_scope_delayed
class  syncd_storage< t_object >
class  syncd_storage_flagged< t_object >
class  OleInitializeScope
class  CoInitializeScope
class  CVerySimpleThread
 IMPORTANT: all classes derived from CVerySimpleThread must call WaitTillThreadDone() in their destructor, to avoid object destruction during a virtual function call! More...
class  CSimpleThread
 IMPORTANT: all classes derived from CSimpleThread must call AbortThread()/WaitTillThreadDone() in their destructors, to avoid object destruction during a virtual function call! More...
class  EnableWindowScope
class  SetTextColorScope
class  CloseHandleScope

Defines

#define WIN32_OP(OP)
#define WIN32_OP_D(OP)   (void)( (OP), 0);

Typedefs

typedef CGlobalLockScope CGlobalLock

Functions

void WIN32_OP_FAIL ()
static bool SetClipboardDataBlock (UINT p_format, const void *p_block, t_size p_block_size)
template<typename t_array>
static bool SetClipboardDataBlock (UINT p_format, const t_array &p_array)
template<typename t_array>
static bool GetClipboardDataBlock (UINT p_format, t_array &p_array)
unsigned QueryScreenDPI ()
SIZE QueryScreenDPIEx ()
static WORD GetOSVersion ()
static DWORD WS_EX_COMPOSITED_Safe ()
static t_size GetOptimalWorkerThreadCount () throw ()
bool IsMenuNonEmpty (HMENU menu)


Define Documentation

#define WIN32_OP ( OP   ) 

Value:

{       \
                SetLastError(NO_ERROR); \
                if (!(OP)) WIN32_OP_FAIL();     \
        }

#define WIN32_OP_D ( OP   )     (void)( (OP), 0);


Typedef Documentation


Function Documentation

template<typename t_array>
static bool GetClipboardDataBlock ( UINT  p_format,
t_array &  p_array 
) [inline, static]

static t_size GetOptimalWorkerThreadCount (  )  throw () [static]

static WORD GetOSVersion (  )  [static]

bool IsMenuNonEmpty ( HMENU  menu  ) 

unsigned QueryScreenDPI (  ) 

SIZE QueryScreenDPIEx (  ) 

template<typename t_array>
static bool SetClipboardDataBlock ( UINT  p_format,
const t_array &  p_array 
) [inline, static]

static bool SetClipboardDataBlock ( UINT  p_format,
const void *  p_block,
t_size  p_block_size 
) [static]

void WIN32_OP_FAIL (  ) 

static DWORD WS_EX_COMPOSITED_Safe (  )  [static]


Generated on Fri Apr 25 18:49:38 2008 for foobar2000 SDK by  doxygen 1.5.5