SizedDtblLabel

The SizedDtblLabel macro creates a structure definition similar to DTBLLABEL but containing a specified character length for the label.

Quick Info

Specified in header file:

MAPIDEFS.H

Related structure

DTBLLABELFW2_H_

 

SizedDtblLabel (int n, u)

Parameters

n

The character length of the label, including the terminating NULL character. The structure type is defined with the tag _DTBLLABEL_ u and type name u.

 

Remarks

The SizedDtblLabel macro provides a way to define a display table label when the number of characters in the label is known. A DTBLLABEL structure does not explicitly give the length of the lpszLabelName string, it only provides an offset to the first character of the string.

To use a pointer to a sized label control such as lpSizedDtblLabel in any function call or structure that expects a LPDTBLLABEL pointer, perform the following cast:

lpDtblLabel = (LPDtblLabel) lpSizedDtblLabel