9 if (strManaged ==
null)
15 if (strManaged.Length > 0)
19 uint num = (uint)cbLength;
34 return new string((sbyte*)(
void*)bstr);
static void Memmove(ref byte dest, ref byte src, nuint len)
static IntPtr AllocBSTRByteLen(uint length)
static void FreeBSTR(IntPtr ptr)
static unsafe ref byte GetArrayDataReference(Array array)
static unsafe string ConvertToManaged(IntPtr bstr)
static unsafe IntPtr ConvertToNative(int flags, string strManaged)
static void ClearNative(IntPtr pNative)
static unsafe byte[] DoAnsiConversion(string str, bool fBestFit, bool fThrowOnUnmappableChar, out int cbLength)
static readonly IntPtr Zero