I have been through many many pages on google, and found that the documentation on overloading operators is quite lacking, but i have found the answer:
the operator overload should be
operator const PIXELFORMATDESCRIPTOR*()
{
return m_pfd;
}
thought i would put the answer on here just in case anybody else needs this answer.