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