IsValidDevmode function Null safety winspool

int IsValidDevmode(
  1. Pointer<DEVMODE> pDevmode,
  2. int DevmodeSize
)

The IsValidDevmode function verifies that the contents of a DEVMODE structure are valid.

BOOL IsValidDevmodeW(
_In_ PDEVMODE pDevmode,
       size_t   DevmodeSize
);

Implementation

int IsValidDevmode(Pointer<DEVMODE> pDevmode, int DevmodeSize) =>
    _IsValidDevmode(pDevmode, DevmodeSize);