This topic has not yet been rated - Rate this topic

MESSAGE_RESOURCE_ENTRY structure

Applies to: desktop apps only

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

Syntax

typedef struct {
  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

Minimum supported server

Windows 2000 Server

Header

Winnt.h (include Windows.h)

See also

Reference
MESSAGE_RESOURCE_BLOCK
MESSAGE_RESOURCE_DATA
Conceptual
Resources

 

 

Send comments about this topic to Microsoft

Build date: 2/3/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ