Esempio n. 1
0
 internal static extern unsafe bool GetQueuedCompletionStatusEx(
     [In] SafeLocalMemHandle completionPort,
     [Out] NativeOverlapped **lpOverlapped,
     [In] ulong itemCount,
     [Out] out ulong entriesRemoved,
     [In] UInt32 milliseconds,
     [In] bool alertable);
Esempio n. 2
0
 internal static extern unsafe bool ReadDirectoryChangesW(
     [In] SafeFileHandle hDirectory,
     [Out] HandleRef lpBuffer,
     [In] int nBufferLength,
     [In] int bWatchSubtree,
     [In] int dwNotifyFilter,
     [Out] int lpBytesReturned,
     NativeOverlapped *overlappedPointer,
     [In] SafeLocalMemHandle lpCompletionRoutine);
Esempio n. 3
0
 internal static extern unsafe bool GetQueuedCompletionStatus(
     [In] SafeLocalMemHandle completionPort,
     [Out] out UInt32 ptrBytesTransferred,
     [Out] out UInt32 ptrCompletionKey,
     [Out] NativeOverlapped **lpOverlapped,
     [In] UInt32 milliseconds);
Esempio n. 4
0
 IntPtr IWindowsFacade.CreateIoCompletionPort(SafeFileHandle fileHandle, SafeLocalMemHandle existingCompletionPort, uint completionKey,
                                              uint numberOfConcurrentThreads)
 {
     return(CreateIoCompletionPort(fileHandle, existingCompletionPort, completionKey, numberOfConcurrentThreads));
 }
Esempio n. 5
0
 unsafe bool IWindowsFacade.GetQueuedCompletionStatusEx(SafeLocalMemHandle completionPort, NativeOverlapped **lpOverlapped, ulong itemCount,
                                                        out ulong entriesRemoved, uint milliseconds, bool alertable)
 {
     return(GetQueuedCompletionStatusEx(completionPort, lpOverlapped, itemCount, out entriesRemoved, milliseconds, alertable));
 }
Esempio n. 6
0
 unsafe bool IWindowsFacade.PostQueuedCompletionStatus(SafeLocalMemHandle completionPort, uint ptrBytesTransferred, uint ptrCompletionKey,
                                                       NativeOverlapped *lpOverlapped)
 {
     return(PostQueuedCompletionStatus(completionPort, ptrBytesTransferred, ptrCompletionKey, lpOverlapped));
 }
Esempio n. 7
0
 unsafe bool IWindowsFacade.GetQueuedCompletionStatus(SafeLocalMemHandle completionPort, out uint ptrBytesTransferred, out uint ptrCompletionKey,
                                                      NativeOverlapped **lpOverlapped, uint milliseconds)
 {
     return(GetQueuedCompletionStatus(completionPort, out ptrBytesTransferred, out ptrCompletionKey, lpOverlapped, milliseconds));
 }
Esempio n. 8
0
 unsafe bool IWindowsFacade.ReadDirectoryChangesW(
     SafeFileHandle hDirectory, HandleRef lpBuffer, int nBufferLength, int bWatchSubtree,
     int dwNotifyFilter, int lpBytesReturned, NativeOverlapped *overlappedPointer, SafeLocalMemHandle lpCompletionRoutine)
 {
     return(ReadDirectoryChangesW(hDirectory, lpBuffer, nBufferLength, bWatchSubtree, dwNotifyFilter, lpBytesReturned, overlappedPointer, lpCompletionRoutine));
 }
Esempio n. 9
0
 internal static extern unsafe bool PostQueuedCompletionStatus(
     [In] SafeLocalMemHandle completionPort,
     [In] UInt32 ptrBytesTransferred,
     [In] UInt32 ptrCompletionKey,
     [In] NativeOverlapped *lpOverlapped);
Esempio n. 10
0
 internal static extern IntPtr CreateIoCompletionPort(
     [In] SafeFileHandle fileHandle,
     [In] SafeLocalMemHandle existingCompletionPort,
     [In] UInt32 completionKey,
     [In] UInt32 numberOfConcurrentThreads);
Esempio n. 11
0
 internal static extern unsafe bool ConvertStringSecurityDescriptorToSecurityDescriptor(
     string stringSecurityDescriptor, int stringSdRevision, out SafeLocalMemHandle pSecurityDescriptor, IntPtr securityDescriptorSize);