How to make HalDisplayString() work in Safe mode?

Hi

I’m using HalDisplayString() to display messages from a boot driver.
The function works ok when i load windows normally, but does not work when I
load windows in safe mode (I don’t see anything on the screen).
Any idea why?

Any way to display text from a driver running in safe mode (the driver is in
safeboot section in the registry)?

Thanks,

Sharon.

Is your driver being loaded in safe mode?

I don’t want to sound like a smart ass, but also I don’t want to hear
that you’ve been banging you head against the wall, tweaking your
driver - only to find out that it’s not being loaded.

Cliff

On 21-Feb-05, at 3:51 PM, Sharon Sahar wrote:

Hi

I’m using HalDisplayString() ?to display messages from a boot driver.
The function works ok when i load windows normally, but does not work
when I load windows in safe mode (I don’t see anything on the screen).
Any idea why?

Any way to display text from a driver running in safe mode (the
driver is in safeboot section in the registry)?

Thanks,

Sharon.

?

Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: unknown lmsubst tag
argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

Hi Sharon,

I use the following sequence of undocumented functions to
display a message on a red screen during Safe Mode boot.

InbvEnableBootDriver(TRUE);
InbvAcquireDisplayOwnership();
InbvResetDisplay();
InbvEnableDisplayString(TRUE);

InbvSolidColorFill(0, 0, 639, 479, 1);
InbvSetTextColor(1);

InbvDisplayString(“Hello world”);

Shaun

Monday, February 21, 2005, 11:51:18 PM, you wrote:

SS> Hi

SS> I’m using HalDisplayString() to display messages from a boot driver.
SS> The function works ok when i load windows normally, but does not work when I
SS> load windows in safe mode (I don’t see anything on the screen).
SS> Any idea why?

SS> Any way to display text from a driver running in safe mode (the driver is in
SS> safeboot section in the registry)?

SS> Thanks,

SS> Sharon.