MultiCam Boards Documentation > MultiCam Documentation > MultiCam C Reference > Appendix > C Predefined Types

C Predefined Types

The following data types are used in the MultiCam C API. They are predefined using typedef.

C predefined types

Predefined type

Description

PVOID

Pointer to a void.

typedef void *PVOID;

 

INT32

Signed 32-bit integer.

typedef signed int INT32;

 

PINT32

Pointer to a signed 32-bit integer.

typedef signed int *PINT32;

 

UINT32

Unsigned 32-bit integer.

typedef unsigned int UINT32;

 

INT64

Signed 64-bit integer.

typedef signed int INT64;

 

PINT64

Pointer to a signed 64-bit integer.

typedef signed int *PINT64;

 

FLOAT64

Double precision 64-bit floating point.

typedef double FLOAT64;

 

PFLOAT64

Pointer to a double precision 64-bit floating point.

typedef double *PFLOAT64;

 

PCHAR

Pointer to a character.

typedef char *PCHAR;

 

PCCHAR

Pointer to a constant character.

typedef const char *PCCHAR;

 

MCHANDLE

Unsigned 32-bit integer.

typedef UINT32 MCHANDLE;

 

PMCHANDLE

Pointer to an unsigned 32-bit integer.

typedef UINT32 *PMCHANDLE;

 

MCSTATUS

Signed 32-bit integer.

typedef int MCSTATUS;

 

MCPARAMID

Unsigned 32-bit integer.

typedef UINT32 MCPARAMID;

 

MCSIGNAL

Signed 32-bit integer.

typedef int MCSTATUS;

 

PMCSIGNALINFO

Pointer to a structure containing a MultiCam signal information.

struct
{
  PVOID Context;
  MCHANDLE Instance;
  MCSIGNAL Signal;
  UINT32 SignalInfo;
  UINT32 SignalContext;
} *PMCSIGNALINFO;

 

PMCCALLBACK

typedef struct _MC_CALLBACK_INFO
{
  PVOID Context;
  MCHANDLE Instance;
  MCSIGNAL Signal;
  UINT32 SignalInfo;
  UINT32 SignalContext;
} MCSIGNALINFO, *PMCSIGNALINFO, *PMCCALLBACKINFO, MCCALLBACKINFO;

typedef void (MCAPI *PMCCALLBACK)(PMCSIGNALINFO CbInfo);

typedef void (MCAPI *PMCCALLBACKEX)(PVOID Context);