foobar2000 SDK  2015-08-03
Data Structures | Namespaces | Functions
pfc.h File Reference

Go to the source code of this file.

Data Structures

struct  GUID
 

Namespaces

 pfc
 

Functions

__inline bool __InlineIsEqualGUID (REFGUID rguid1, REFGUID rguid2)
 
void pfc::myassert (const char *_Message, const char *_File, unsigned _Line)
 
void pfc::myassert_win32 (const wchar_t *_Message, const wchar_t *_File, unsigned _Line)
 
bool operator!= (REFGUID guidOne, REFGUID guidOther)
 
bool operator!= (const GUID &p_item1, const GUID &p_item2)
 
bool operator== (REFGUID guidOne, REFGUID guidOther)
 
bool operator== (const GUID &p_item1, const GUID &p_item2)
 
void pfc::selftest ()
 

Data Structure Documentation

struct GUID

Definition at line 71 of file pfc.h.

Data Fields
uint32_t Data1
uint16_t Data2
uint16_t Data3
uint8_t Data4[8]

Function Documentation

__inline bool __InlineIsEqualGUID ( REFGUID  rguid1,
REFGUID  rguid2 
)

Definition at line 49 of file pfc.h.

50 {
51  return (
52  ((unsigned long *) &rguid1)[0] == ((unsigned long *) &rguid2)[0] &&
53  ((unsigned long *) &rguid1)[1] == ((unsigned long *) &rguid2)[1] &&
54  ((unsigned long *) &rguid1)[2] == ((unsigned long *) &rguid2)[2] &&
55  ((unsigned long *) &rguid1)[3] == ((unsigned long *) &rguid2)[3]);
56 }
bool operator!= ( REFGUID  guidOne,
REFGUID  guidOther 
)
inline

Definition at line 59 of file pfc.h.

59 {return !__InlineIsEqualGUID(guidOne,guidOther);}
__inline bool __InlineIsEqualGUID(REFGUID rguid1, REFGUID rguid2)
Definition: pfc.h:49
bool operator!= ( const GUID p_item1,
const GUID p_item2 
)
inline

Definition at line 82 of file pfc.h.

82  {
83  return memcmp(&p_item1,&p_item2,sizeof(GUID)) != 0;
84 }
Definition: pfc.h:71
bool operator== ( REFGUID  guidOne,
REFGUID  guidOther 
)
inline

Definition at line 58 of file pfc.h.

58 {return __InlineIsEqualGUID(guidOne,guidOther);}
__inline bool __InlineIsEqualGUID(REFGUID rguid1, REFGUID rguid2)
Definition: pfc.h:49
bool operator== ( const GUID p_item1,
const GUID p_item2 
)
inline

Definition at line 78 of file pfc.h.

78  {
79  return memcmp(&p_item1,&p_item2,sizeof(GUID)) == 0;
80 }
Definition: pfc.h:71