[ros-dev] Question regarding declaration of RTL_DRIVE_LETTER_CURDIR in include\ndk\rtltypes.h

Sven Barth pascaldragon at googlemail.com
Sat Nov 13 17:56:15 UTC 2010


Hello together!

I'm currently poking around in the NDK headers very much and I noted a 
small inconsistency in the declaration of one type.

The declaration is the following in include\ndk\rtltypes.h:

==== source begin ====

typedef struct RTL_DRIVE_LETTER_CURDIR
{
     USHORT Flags;
     USHORT Length;
     ULONG TimeStamp;
     UNICODE_STRING DosPath;
} RTL_DRIVE_LETTER_CURDIR, *PRTL_DRIVE_LETTER_CURDIR;

==== source end ====

Shouldn't it be "_RTL_DRIVE_LETTER_CURDIR" instead of 
"RTL_DRIVE_LETTER_CURDIR"?

I don't know what influences this missing underscore has on compilation 
and such, cause I can read C without big problems and write a bit as 
well, but I don't understand every single bit a C compiler does ^^

Regards,
Sven



More information about the Ros-dev mailing list