According to my understanding should only use LPBYTE can, but this function is the supplier provide
The question now is how do before I call the general p__ListData initializing the parameters, the size of the return according to the actual situation is different, have different results
CodePudding user response:
This type of parameter need argument isLPBYTE array name
Or
Address of the variables of LPBYTE
Or
And its type of pointer variable, pointing at the malloc to a piece of memory space
CodePudding user response:
To its topCodePudding user response:
How LPBYTE definition??????CodePudding user response:
Suppliers, understand first is the function of memory release internal release or external applications or static memory need not apply for release,CodePudding user response:
This type of parameter need argument isLPBYTE array name
I now to write, compile without problem, also can run smoothly, just can't return the correct results,
BYTE p__Arr_Byte [9024].
LPBYTE * lpListData;
P__lpByte=(LPBYTE) (p__Arr_Byte);
lpListData=https://bbs.csdn.net/topics/&p__lpByte;
Here is a problem is p__Arr_Byte fixed size, but actually should demand is dynamic size
CodePudding user response:
BYTE p__Arr_Byte [9024].LPBYTE * lpListData=https://bbs.csdn.net/topics/(LPBYTE *) (p__Arr_Byte);
Dynamic size is how old, who's in charge?
CodePudding user response:
It is unsigned char * * p__ListDataCodePudding user response:
Individual is the most likely wayThis parameter as long as the initial for nullptr can
CodePudding user response: