This structure contains fields used for setting JPEG-specific options through the JPEG I/O procedure. This structure is passed to the I/O procedure by setting the the pExtraInfoStruct field of MMIOINFO to the address of JPEGOPTIONS before passing the MMIOINFO structure to mmioOpen. All unused fields must be set to zero.
typedef struct _JPEGOPTIONS { ULONG ulStructLen; /* Size of this structure. */ USHORT usQuantization[4]; /* Quantization value. */ USHORT usScale; /* Scaling value. */ ULONG ulColorOrder; /* Color order. */ USHORT usColorSpaceOut; /* Subsampling value. */ } JPEGOPTIONS; typedef JPEGOPTIONS * PJPEGOPTIONS ;