15 references to SafeBSTRHandle
mscorlib (15)
microsoft\win32\win32native.cs (3)
890
internal static extern uint SysStringLen(
SafeBSTRHandle
bstr);
2036
[In,Out]
SafeBSTRHandle
pDataIn,
2044
[In,Out]
SafeBSTRHandle
pDataIn,
system\security\securestring.cs (12)
19
private
SafeBSTRHandle
m_buffer;
42
SafeBSTRHandle
.Allocate(null , (int)Win32Native.CRYPTPROTECTMEMORY_BLOCK_SIZE),
55
SafeBSTRHandle
.Copy(str.m_buffer, this.m_buffer);
326
m_buffer =
SafeBSTRHandle
.Allocate(null, alignedSize);
350
SafeBSTRHandle
newBuffer =
SafeBSTRHandle
.Allocate(null, GetAlignedSize(capacity));
356
SafeBSTRHandle
.Copy(m_buffer, newBuffer);
684
internal static
SafeBSTRHandle
Allocate(String src, uint len)
686
SafeBSTRHandle
bstr = SysAllocStringLen(src, len);
694
private static extern
SafeBSTRHandle
SysAllocStringLen(String src, uint len); // BSTR
727
internal unsafe static void Copy(
SafeBSTRHandle
source,
SafeBSTRHandle
target) {