MESSAGE_RESOURCE_DATA structure (winnt.h)

Contains information about formatted text for display as an error message or in a message box in a message table resource.

Syntax

typedef struct _MESSAGE_RESOURCE_DATA {
  DWORD                  NumberOfBlocks;
  MESSAGE_RESOURCE_BLOCK Blocks[1];
} MESSAGE_RESOURCE_DATA, *PMESSAGE_RESOURCE_DATA;

Members

NumberOfBlocks

Type: DWORD

The number of MESSAGE_RESOURCE_BLOCK structures.

Blocks[1]

Type: MESSAGE_RESOURCE_BLOCK[1]

An array of structures. The array is the size indicated by the NumberOfBlocks member.

Remarks

A MESSAGE_RESOURCE_DATA structure can contain one or more MESSAGE_RESOURCE_BLOCK structures, which can each contain one or more MESSAGE_RESOURCE_ENTRY structures.

Requirements

Requirement Value
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_ENTRY

Reference

Resources