31 references to Interop
System.Data.OleDb (31)
DbPropSet.cs (5)
33
base.handle =
Interop
.Ole32.CoTaskMemAlloc(countOfBytes);
147
Interop
.Ole32.PropVariantClear(vptr);
149
Interop
.Ole32.CoTaskMemFree(rgProperties);
152
Interop
.Ole32.CoTaskMemFree(ptr);
246
propset.rgProperties =
Interop
.Ole32.CoTaskMemAlloc(countOfBytes);
OleDbError.cs (2)
28
lcid =
Interop
.Kernel32.GetUserDefaultLCID();
47
lcid =
Interop
.Kernel32.GetUserDefaultLCID();
PropertyInfoSet.cs (4)
128
Interop
.Ole32.PropVariantClear(valuePtr);
130
Interop
.Ole32.CoTaskMemFree(infoPtr); // was allocated by provider
133
Interop
.Ole32.CoTaskMemFree(ptr);
140
Interop
.Ole32.CoTaskMemFree(ptr);
RowBinding.cs (6)
257
ptr =
Interop
.OleAut32.SysAllocStringLen(value, (uint)value.Length);
495
Interop
.OleAut32.SysFreeString(currentValue);
499
Interop
.OleAut32.SysFreeString(originalValue);
525
Interop
.Ole32.CoTaskMemFree(currentValue);
551
Interop
.Ole32.PropVariantClear(currentHandle);
555
Interop
.Ole32.PropVariantClear(originalHandle);
SafeHandles.cs (2)
71
Interop
.Ole32.CoTaskMemFree(ptr);
78
Interop
.Ole32.CoTaskMemFree(ptr);
SafeNativeMethods.cs (1)
45
Interop
.OleAut32.SetErrorInfo(0, IntPtr.Zero);
src\runtime\src\libraries\Common\src\Interop\Windows\Kernel32\Interop.GetUserDefaultLCID.cs (1)
10
[LibraryImport(
Interop
.Libraries.Kernel32)]
src\runtime\src\libraries\Common\src\Interop\Windows\Ole32\Interop.PropVariantClear.cs (1)
11
[LibraryImport(
Interop
.Libraries.Ole32)]
src\runtime\src\libraries\Common\src\Interop\Windows\OleAut32\Interop.SetErrorInfo.cs (1)
12
[LibraryImport(
Interop
.Libraries.OleAut32)]
System\Data\ProviderBase\DbBuffer.cs (2)
27
base.handle = (IntPtr)
Interop
.Kernel32.LocalAllocZeroed((uint)initialSize);
351
Interop
.Kernel32.LocalFree(ptr);
System\Data\ProviderBase\DbConnectionPool.cs (4)
1127
waitResult =
Interop
.Kernel32.WaitForMultipleObjects(waitHandleCount, handle, false, waitForMultipleObjectsTimeout);
1259
bool result =
Interop
.Kernel32.ReleaseSemaphore(_waitHandles.CreationHandle, 1, out _);
1447
waitResult =
Interop
.Kernel32.WaitForSingleObject(_waitHandles.CreationHandle, (int)timeout);
1502
waitResult =
Interop
.Kernel32.ReleaseSemaphore(_waitHandles.CreationHandle, 1, out _) ? 1 : 0;
System\Data\ProviderBase\DbConnectionPoolCounters.cs (1)
239
uint pid =
Interop
.Kernel32.GetCurrentProcessId();
UnsafeNativeMethods.COMWrappers.cs (1)
16
[LibraryImport(
Interop
.Libraries.OleAut32)]