Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.11.1
LEADTOOLS Raster Imaging C DLL Help

CHANNELINFO

Show in webframe

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.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.