foobar2000 SDK  2015-01-14
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 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)
 

Data Structure Documentation

struct GUID

Definition at line 53 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 33 of file pfc.h.

34 {
35  return (
36  ((unsigned long *) &rguid1)[0] == ((unsigned long *) &rguid2)[0] &&
37  ((unsigned long *) &rguid1)[1] == ((unsigned long *) &rguid2)[1] &&
38  ((unsigned long *) &rguid1)[2] == ((unsigned long *) &rguid2)[2] &&
39  ((unsigned long *) &rguid1)[3] == ((unsigned long *) &rguid2)[3]);
40 }
bool operator!= ( REFGUID  guidOne,
REFGUID  guidOther 
)
inline

Definition at line 43 of file pfc.h.

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

Definition at line 64 of file pfc.h.

64  {
65  return memcmp(&p_item1,&p_item2,sizeof(GUID)) != 0;
66 }
Definition: pfc.h:53
bool operator== ( REFGUID  guidOne,
REFGUID  guidOther 
)
inline

Definition at line 42 of file pfc.h.

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

Definition at line 60 of file pfc.h.

60  {
61  return memcmp(&p_item1,&p_item2,sizeof(GUID)) == 0;
62 }
Definition: pfc.h:53