use of the DWORD_PTR

1k views Asked by At

What is the use of the DWORD_PTR in the following function

/*static*/ int FRCPACKAGE::ByHash(FRCPACKAGE* frcpackage1, FRCPACKAGE* frcpackage2, DWORD_PTR)
{return _tcsicmp(frcpackage2->Hash(), frcpackage1->Hash());}
1

There are 1 answers

0
Angew is no longer proud of SO On

It's an extra parameter of type DWORD_PTR (probably a typedef to an unsigned long * or something similar), but because it's not used in the function, it's not given a name. That way, most compilers won't issue an "unused parameter" warning.