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.

Members

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() operator to calculate this value.

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help