Nikolay Sivov (@nsivov) commented about dlls/combase/usrmarshal.c:
- struct hstring_wire *wire;
- TRACE("%s, %p, %s.\n", debugstr_user_flags(flags), buf, debugstr_hstring(*str));
- if (LOWORD(*flags) == MSHCTX_DIFFERENTMACHINE)
- {
FIXME("MSHCTX_DIFFERENTMACHINE is not supported yet.\n");
RpcRaiseException(RPC_S_INVALID_TAG);
- }
- wire = ALIGNED_POINTER(buf, 7);
+#ifdef _WIN64
- wire->context = WDT_INPROC64_CALL;
+#else
- wire->context = WDT_INPROC_CALL;
+#endif
Existing code uses compile time sizeof() checks instead of this. Maybe it's better to follow here too.