Zebediah Figura z.figura12@gmail.com wrote:
Did you consider using [in,string] const WCHAR *param and [out,string] WCHAR **ret instead of passing BSTRs with [out,size_is(*size)] around? That way you'd avoid casting away 'const' and manually managing sizing.
Yes, that's in future patches. I wanted to keep each patch to as manageable a size as possible.
I see, thanks. Personally I'd prefer explicit 'const WCHAR *' and 'WCHAR *' instead of LPCWSTR and LPWSTR like you do in the patch series though.