In migrating one of my apps to OS3.5, I've discovered that a couple of very
useful unsupported API calls (yes, yes, I can hear the chorus already),
have "disappeared", namely:
HwrPluggedIn(); // Is the device sitting in its cradle?
HwrBacklight(true, bState); // Turn the backlight on/off
I've poked around for suitable substitutes, but my tiny brain can't seem to
find any. I also noted the comment next to the trap for the backlight
call, namely:
// This trap obsoleted for OS 3.5 and later
I can find calls to check for the presence of the backlight, but nothing
that explicitly turns the thing on and off. Should I be using
vchrBacklight and stuffing that into the queue? And while this might be
useful to blindly flip the state of the backlight, is there an explicit way
to set the state of the backlight?
Also, is there a call to check if the device is nestled in the cradle?
Cheers,
--
Andrew Ball
[EMAIL PROTECTED]