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