The private data for a device driver follows the public portion of the DEVMODE structure.
The size of the public data can vary for different versions of the structure.
The dmSize member specifies the number of bytes of public data.
You should initialize all unsupported members with a value of zero.