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