Skip to content

Commit

Permalink
Add BSTR array marshalling.
Browse files Browse the repository at this point in the history
AsByValArrayTest without that was not working.
  • Loading branch information
kant2002 committed May 25, 2021
1 parent beca115 commit ea76dd0
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -791,6 +791,11 @@ private static MarshallerKind GetArrayElementMarshallerKind(
return MarshallerKind.UnicodeString;
case NativeTypeKind.LPUTF8Str:
return MarshallerKind.UTF8String;
case NativeTypeKind.BStr:
case NativeTypeKind.TBStr:
return MarshallerKind.BSTRString;
case NativeTypeKind.AnsiBStr:
return MarshallerKind.AnsiBSTRString;
default:
return MarshallerKind.Invalid;
}
Expand Down

0 comments on commit ea76dd0

Please sign in to comment.