cwbRC_GetParmCount

Purpose

Get the number of parameters for this program object.

Syntax

 
unsigned int CWB_ENTRY cwbRC_GetParmCount(
                             cwbRC_PgmHandle     program,
                             unsigned short     *count);

Parameters

cwbRC_PgmHandle handle - input
Handle that was returned by a previous call to the cwbRC_CreatePgm API. It identifies the program object.
unsigned short * count - output
Pointer to an unsigned short where the parameter count will be written.

Return Codes

The following list shows common return values.

CWB_OK
Successful completion.
CWB_INVALID_POINTER
Bad or NULL pointer.
CWBRC_INVALID_PROGRAM
Invalid program handle.

Usage

None