Ceci est la définition dans le sdk (pdf)
1 2 3 4 5 6 7 8 9
| Name: NCMRetCode NCM_GetAllDevices(pncmFamily, ppncmDeviceModel)
Inputs: NCMFamily *pncmFamily pointer to a data structure containing a family name
NCMDevice **ppncmDeviceModel address of pointer where installable device model names
will be output
Returns: NCM_SUCCESS if success
NCM error code if failure
Includes: NCMApi.h
Category: Read configuration
Mode: synchronous |
NCMRetCode est un integer(c'est un enum simple)
NCMFamily et NCMDevice
ceci est dans l'include livré avec le sdk
1 2 3 4 5 6 7 8
| typedef struct NCMString
{
char *name;
struct NCMString *next;
} NCMString;
typedef NCMString NCMFamily, NCMDevice, NCMProperty, NCMVariable,
NCMValue, NCMErrorMsg; |
Ceci est la signature dans l'include livré avec le sdk
NCM_API NCMRetCode NCM_GetAllDevices( NCMFamily *, NCMDevice ** );
Partager