Mercurial > mplayer.hg
diff loader/wine/ntdef.h @ 25794:2c8cdb9123b8
Fix a ton of illegal identifiers. Identifiers starting with __ or _ and a
capital letter are reserved for the system, those starting with _ are
reserved at the file level.
author | diego |
---|---|
date | Sun, 20 Jan 2008 17:16:39 +0000 |
parents | c98c9e7f3bd0 |
children | a8ea87c71d18 |
line wrap: on
line diff
--- a/loader/wine/ntdef.h Sun Jan 20 17:03:35 2008 +0000 +++ b/loader/wine/ntdef.h Sun Jan 20 17:16:39 2008 +0000 @@ -40,19 +40,19 @@ * If they are zero terminated, Length does not include the terminating 0. */ -typedef struct _STRING { +typedef struct STRING { USHORT Length; USHORT MaximumLength; PSTR Buffer; } STRING,*PSTRING,ANSI_STRING,*PANSI_STRING; -typedef struct _CSTRING { +typedef struct CSTRING { USHORT Length; USHORT MaximumLength; PCSTR Buffer; } CSTRING,*PCSTRING; -typedef struct _UNICODE_STRING { +typedef struct UNICODE_STRING { USHORT Length; /* bytes */ USHORT MaximumLength; /* bytes */ PWSTR Buffer; @@ -71,7 +71,7 @@ #define OBJ_KERNEL_HANDLE 0x00000200L #define OBJ_VALID_ATTRIBUTES 0x000003F2L -typedef struct _OBJECT_ATTRIBUTES +typedef struct OBJECT_ATTRIBUTES { ULONG Length; HANDLE RootDirectory; PUNICODE_STRING ObjectName;