Property LogPixels of interface IDevMode returns/sets Value of ULONG ...
HRESULT get_LogPixels([out, retval] ULONG* pVal); HRESULT put_LogPixels([in] ULONG pVal);
See also IDevMode.