MESSAGE_RESOURCE_ENTRY

The MESSAGE_RESOURCE_ENTRY structure contains the error message or message box display text for a message table resource.

typedef struct _MESSAGE_RESOURCE_ENTRY { 
    USHORT Length; 
    USHORT Flags; 
    UCHAR Text[ 1 ]; 
} MESSAGE_RESOURCE_ENTRY, *PMESSAGE_RESOURCE_ENTRY; 
 

Members

Length
Specifies the length, in bytes, of the message string in this structure.
Flags
Indicates that the string is encoded in Unicode if equal to the value 0x0001; indicates that the string is encoded in ANSI if equal to the value 0x0000.
Text[ 1 ]
An array that contains the error message or message box display text. The Text[ 1 ] member is a placeholder for the variable-length Text array.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in winnt.h.

See Also

Resources Overview, Resource Structures, MESSAGE_RESOURCE_BLOCK, MESSAGE_RESOURCE_DATA