Home > Back-end >  How about the callback function call
How about the callback function call

Time:03-17


 
Type
REALDATACALLBACK=function (szBuffer: PChar; LSize: Integer; PUsrData: PChar) : the Pointer; Stdcall;
TREALDATACALLBACK=^ REALDATACALLBACK;

Defines a callback function
Now I want to call the szBuffer inside, lSize and how to write ah
I have a function to szBuffer use this callback function, the value of lSize

CodePudding user response:

Written in C
Typedef LONG (CALLBACK * pfGetPuPuInfoCallBack) (ULONG ulIdentifyID, const PU_PU_AI_TRANS_DATA_PARAM_S * pstTransData, VOID * CTX);

The above Delphi writing is I ask someone to help me translation;

  • Related