clrinterop / clrinterop-issues-sandbox

0 stars 0 forks source link

SigImp TranslateSnippet should translate SAFEARRAY into [MarshalAs(SafeArray)] Array #52

Open jozefizso opened 15 years ago

jozefizso commented 15 years ago

Issue from Mon, 12 Oct 2009 02:44:34 GMT Originally opened at https://clrinterop.codeplex.com/workitem/4442


Try to translate the following into C#:   HRESULT SafeArrayAccessData(
SAFEARRAY * psa,
void HUGEP ** ppvData
);   SigImp TranslateSnippet gives a very complex output including a full definition of SAFEARRAY structure. It should use MarshalAs(UnmanagedType.SafeArray) Array instead.