kernelv_get_active_g_group()
Prototype
int (signed) | ch_get_active_g_group(vnck: ctypes.CDLL, g_codes: ACTIVE_G_CODES, g_group: E_KERNELV_G_GROUP_TYPE | int); |
Description
Receives a structure of type ACTIVE_G_CODES and returns the content of the group specified in E_KERNELV_G_GROUP_TYPE.
Utility function to evaluate the structure returned by kernelv_ch_get_active_g_codes().
Parameter
Name | Type | Meaning |
vnck | ctypes.CDLL | Instance of the loaded KernelV DLL. |
g_codes | ACTIVE_G_ | Pointer to the structure from which a G group is to be read. |
g_group | E_KERNELV_ | Type ID of the G group which is to be read. |
Return values
int (signed): Active G function of the requested group or -1 if no valid value is entered in the requested group.