9 references to Kernel32
System.Data.OleDb (9)
OleDbError.cs (2)
28lcid = Interop.Kernel32.GetUserDefaultLCID(); 47lcid = Interop.Kernel32.GetUserDefaultLCID();
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();