extern "C" DLL_EXPORT BOOL WINAPI MarshalStructAsParam_AsExpByRefInLongStructPack16Explicit(LongStructPack16Explicit* str1)
{
	if(!IsCorrectLongStructPack16Explicit(str1))
	{
		printf("\tMarshalStructAsParam_AsExpByRefIn10:LongStructPack16Explicit param not as expected\n");
	    PrintLongStructPack16Explicit(str1, "str1");
		return FALSE;
	}
	ChangeLongStructPack16Explicit(str1);
	return TRUE;
}
Пример #2
0
extern "C" DLL_EXPORT BOOL __stdcall MarshalStructAsParam_AsExpByRefLongStructPack16Explicit_Stdcall(LongStructPack16Explicit* str1)
{
    if(!IsCorrectLongStructPack16Explicit(str1))
    {
        PRINT_ERR_INFO();
        PrintLongStructPack16Explicit(str1, "str1");
        return FALSE;
    }
    ChangeLongStructPack16Explicit(str1);
    return TRUE;
}