The DEVMODE_CONTAINER structure specifies a _DEVMODE structure (section, which contains data for the initialization of a print device by a printer driver.

 typedef struct _DEVMODE_CONTAINER {
   DWORD cbBuf;
   [size_is(cbBuf), unique] BYTE* pDevMode;

cbBuf: The size, in bytes, of the buffer pointed to by the pDevMode member.

pDevMode: An optional pointer to a variable-length, custom-marshaled _DEVMODE structure. The NULL value MUST be used to indicate that the default initialization data for the printer driver SHOULD be used.