extern "C" DLL_EXPORT BOOL WINAPI MarshalStructAsParam_AsExpByValShortStructPack4Explicit(ShortStructPack4Explicit str1)
{
	if(!IsCorrectShortStructPack4Explicit(&str1))
	{
		printf("\tMarshalStructAsParam_AsExpByVal8:ShortStructPack4Explicit param not as expected\n");
		PrintShortStructPack4Explicit(&str1, "str1");
		return FALSE;
	}
	ChangeShortStructPack4Explicit(&str1);
	return TRUE;
}
Ejemplo n.º 2
0
extern "C" DLL_EXPORT BOOL __stdcall MarshalStructAsParam_AsExpByRefShortStructPack4Explicit_Stdcall(ShortStructPack4Explicit* str1)
{
    if(!IsCorrectShortStructPack4Explicit(str1))
    {
        PRINT_ERR_INFO();
        PrintShortStructPack4Explicit(str1, "str1");
        return FALSE;
    }
    ChangeShortStructPack4Explicit(str1);
    return TRUE;
}
extern "C" DLL_EXPORT BOOL WINAPI MarshalStructAsParam_AsExpByRefOutShortStructPack4Explicit(ShortStructPack4Explicit* str1)
{
	ChangeShortStructPack4Explicit(str1);

	return TRUE;
}