RtlGUIDFromString returning STATUS_WAIT_1

Hi,

I am getting following error “STATUS_WAIT_1” while executing
RtlGUIDFromString from the DriverEntry of my volume filter driver. My
machine is a cluster node of win2k8 r2.
here is my code

ustrDiskSignature.Length = 72;
ustrDiskSignature.MaximumLength = 78;
ustrDiskSignature.Buffer is “71A27CDD-812A-11D0-BEC7-08002BE2092F”
GUID Guid;
Status = RtlGUIDFromString(&ustrDiskSignature, &Guid);

here the call RtlGUIDFromString is always getting failed with STATUS_WAIT_1.
Is it a problem to call this api to early in boot process.

Regards
Rohit Gauba

“A positive thought is the seed of a positive result”

1 since you have a static string, call RtlInitUnicodeString instead of manually initializing each field
2 try surrounding the guid chars with { } s

d

dent from a phpne with no keynoard


From: Rohit
Sent: September 15, 2010 3:06 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] RtlGUIDFromString returning STATUS_WAIT_1

Hi,

I am getting following error “STATUS_WAIT_1” while executing RtlGUIDFromString from the DriverEntry of my volume filter driver. My machine is a cluster node of win2k8 r2.
here is my code

ustrDiskSignature.Length = 72;
ustrDiskSignature.MaximumLength = 78;
ustrDiskSignature.Buffer is “71A27CDD-812A-11D0-BEC7-08002BE2092F”
GUID Guid;
Status = RtlGUIDFromString(&ustrDiskSignature, &Guid);

here the call RtlGUIDFromString is always getting failed with STATUS_WAIT_1. Is it a problem to call this api to early in boot process.

Regards
Rohit Gauba

“A positive thought is the seed of a positive result”

— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer