SizedDtblLabel

The SizedDtblLabel macro creates a named structure that includes a DTBLLABEL structure for describing a label control and the associated label of a specified length.

Quick Info

Specified in header file: MAPIDEFS.H
Related structure DTBLLABEL

SizedDtblLabel (n, u)

Parameters

n
Length of the label, including the terminating NULL character.
u
Name for the new structure.

Remarks

The SizedDtblLabel macro provides a way to define a display table label when the number of characters in the label is known. The new structure is created with the following members:

DTBLLABEL            dtbllabel;
TCHAR                lpszLabelName[n];
 

To use a pointer to the resulting structure from the SizedDtblLabel macro as a DTBLLABEL structure pointer, perform the following cast:

lpDtblLabel = (LPDTBLLABEL) &SizedDtblLabel;