Making VT_BYREF work