From: BlackMizi on
Hi all,

my problem is, that a printjob may only start, if all must fields are
filled, which are stored in POEMDEV.

I tried to check the values in hrOEMDevMode if the dwMode=OEMDM_MERGE.
If I do something like this:

SetLastError(ERROR_INVALID_PARAMETER);
hResult = E_FAIL; // The buttons print and settings are
grayed
// or
// hResult = E_INVALIDARG // The buttons print and settings are grayed

Is this the correct place to check the data and how may I set the
error values to gray the print button or to disable start of printing?

Thanks
Kai
From: BlackMizi on
Has no one any idea?

---
frmsrcurl: http://msgroups.net/microsoft.public.development.device.drivers/Checking-Parameter-of-POEMDEV-and-disable-starting-p