Passage de structure en parametres
Voila, j'ai un petit soucis,
j'ai un projet de type MFC dans lequel j'appelle une fonction appartenant à un lib win32.
Cette fonction me rempli une structure déclaré comme suit:
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
| struct infosTrame
{
char IHMPacketNumber[25];
char IHMTime[25];
char IHMlenghtUDP[25];
char IHMPacketLenght[25];
char IHMNameProtocole[25];
char IHMIPSrc[25];
char IHMPortUdpSource[25];
char IHMIPDst[25];
char IHMPPortUdpDestination[25];
char IHMnomMessage[200];
};
struct infosTrame Trame; |
comment dois je appeler ma fonction pour que celle ci me renvoi cette structure?