extern "C" DLL_EXPORT BOOL WINAPI MarshalStructAsParam_AsExpByRefInByteStructPack2Explicit(ByteStructPack2Explicit* str1) { if(!IsCorrectByteStructPack2Explicit(str1)) { printf("\tMarshalStructAsParam_AsExpByRefIn7:ByteStructPack2Explicit param not as expected\n"); PrintByteStructPack2Explicit(str1, "str1"); return FALSE; } ChangeByteStructPack2Explicit(str1); return TRUE; }
extern "C" DLL_EXPORT BOOL __stdcall MarshalStructAsParam_AsExpByRefByteStructPack2Explicit_Stdcall(ByteStructPack2Explicit* str1) { if(!IsCorrectByteStructPack2Explicit(str1)) { PRINT_ERR_INFO(); PrintByteStructPack2Explicit(str1, "str1"); return FALSE; } ChangeByteStructPack2Explicit(str1); return TRUE; }