I have in my API a value mapping:
cParams.nVerifyBufferSize = (int32)Params->VerifyBufferSize;
How is the best way to make sure that there is a valid value given? Like
is possible invalid (nothing) I want to give 1 if not a valid value.
Any suggestion? Wiath a boolean value I use
Params->FullCapacity ? BS_TRUE : BS_FALSE;
I think is a goodsolution, isn't it? Something similar for VerifyBufferSize is needed
I use this inside a dotNet component.