Since GAPI is no longer supported by WM6 I am converting everything to
DirectDraw.
I have in my original program:

GXDisplayProperties g_gxdp;
if (g_gxdp.ffFormat | kfDirect565)
{
//blah blah
}
else if (g_gxdp.ffFormat | kfDirect555)
{
//blah blah
}

I wish to know what is the equivalent of g_gxdp.ffFormat?

I am using a DD surface like so:

LPDIRECTDRAWSURFACE g_pDDSPrimary; // DirectDraw primary surface
DDSURFACEDESC ddsd;
g_pDDSPrimary->Lock(0,&ddsd,8,0);

I think it may be ddsd.ddpfPixelFormat or someting but when I step through
and compare g_gxdp.ffFormat to values in ddsd.ddpfPixelFormat I cant find any
obvious values that are are 'identical'.


Thanks for any help.


Harry