MESSAGE_RESOURCE_ENTRY structure (winnt.h)

Contains the error message or message box display text for a message table resource.

Syntax

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

Members

Length

Type: WORD

The length, in bytes, of the MESSAGE_RESOURCE_ENTRY structure.

Flags

Type: WORD

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

Type: BYTE[1]

Pointer to an array that contains the error message or message box display text.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header winnt.h (include Windows.h)

See also

Conceptual

MESSAGE_RESOURCE_BLOCK

MESSAGE_RESOURCE_DATA

Reference

Resources