extern "C" DLL_EXPORT BOOL WINAPI MarshalStructAsParam_AsExpByRefInU(U* str1)
{
	if(!IsCorrectU(str1))
	{
		printf("\tMarshalStructAsParam_AsExpByRefIn6:U param not as expected\n");
		PrintU(str1, "str1");
		return FALSE;
	}
	ChangeU(str1);
	return TRUE;
}
예제 #2
0
extern "C" DLL_EXPORT BOOL __stdcall MarshalStructAsParam_AsExpByRefU_Stdcall(U* str1)
{
    if(!IsCorrectU(str1))
    {
        PRINT_ERR_INFO();
        PrintU(str1, "str1");
        return FALSE;
    }
    ChangeU(str1);
    return TRUE;
}
extern "C" DLL_EXPORT BOOL WINAPI MarshalStructAsParam_AsExpByRefOutU(U* str1)
{
	ChangeU(str1);

	return TRUE;
}