j'ai ces lignes suivant de code
typedef struct CAMERAPARAM_tag
{
int nGain;
int nOffset;
int bOffsetFix;
int nUpperLimit;
int nLowerLimit;
int bRefFix;
double fIntegtime;
int nVBinning;
int nHBinning;
int n10to8Hi;
int n10to8Lo;
int nWSRed;
int nWSGreen;
int nWSBlue;
int nSharpness;
int nEdge;
int nMultiExposure;
double fMETime;
double fMEDistance;
}
PSCAMERAPARAM;
j'ai une fonction:
9.3 Function: PS_SetDefault
Syntax: int PS_SetDefault (int ih,PSCAMERAPARAM* pData);
Parameters:
PSCAMERAPARA M Pointer
Return Value: Zero in case of success, error value otherwise (see table of error codes)
Description: This function resets all parameters to default and fills the structure pData with
default values.
Quelque pourrais m'aider a contructuire cet fonction sous VB6