Sven Barth <pascaldragon(a)googlemail.com> wrote:
Shouldn't it be
"_RTL_DRIVE_LETTER_CURDIR" instead of
"RTL_DRIVE_LETTER_CURDIR"?
It doesn't matter if you just define a variable using this structure
like "RTL_DRIVE_LETTER_CURDIR MyVariable;".
It just matters if you somewhere declare it as "struct
RTL_DRIVE_LETTER_CURDIR MyVariable;".
If this isn't done anywhere, we could even create an anonymous structure
(Microsoft extension to the C language) by defining the structure as
"typedef struct {...} RTL_DRIVE_LETTER_CURDIR, *PRTL_DRIVE_LETTER_CURDIR;"
But as all headers out there seem to define it as "typedef struct
RTL_DRIVE_LETTER_CURDIR", we should do as well to ensure compatibility
with all applications using the structure :-)
Cheers,
Colin