CHANNELINFO

typedef struct _CHANNELINFO
{
    L_UINT uStructSize;
    L_TCHAR szName[64];
    CHANNELTYPE ChannelType;
} CHANNELINFO, *pCHANNELINFO;

The CHANNELINFO structure describes the channel position within a file.

Member

Description

uStructSize

Size of this structure. Use sizeof (CAHNNELINFO).

szName

Null-terminated characters string that contains the Channel name if given.

ChannelType

Type of the channel.

Comments

pCHANNELINFO is a pointer to a CHANNELINFO structure. Where the function parameter type is pCHANNELINFO, declare a CHANNELINFO variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pCHANNELINFO variable is necessary only if the program requires a pointer.

CHANNELINFO structure is used only with L_LoadChannel function which takes this structure as a parameter requires that the structure be initialized prior to the function call. You must set the uStructSize member to the total size, in bytes, of the structure. Use the sizeof() macro to calculate this value.