6 references to StringToCoTaskMemAnsi
mscorlib (1)
system\security\cryptography\x509certificates\x509utils.cs (1)
137
rawKey = Marshal.
StringToCoTaskMemAnsi
(key);
PresentationCore (3)
Core\CSharp\System\Windows\Media\Imaging\PropVariant.cs (3)
239
pString = Marshal.
StringToCoTaskMemAnsi
(value[index]);
294
pszVal = Marshal.
StringToCoTaskMemAnsi
(new String(value as char[]));
393
pszVal = Marshal.
StringToCoTaskMemAnsi
(new String(new char[] { (char)value }));
PresentationFramework (1)
src\Framework\MS\Internal\IO\Packaging\indexingfiltermarshaler.cs (1)
225
pszVal = Marshal.
StringToCoTaskMemAnsi
((string)obj);
WindowsBase (1)
Base\MS\Internal\IO\Packaging\StorageBasedPackageProperties.cs (1)
721
pszVal = Marshal.
StringToCoTaskMemAnsi
(inputString);