Пример #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);
Пример #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);
Пример #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);
Пример #4
0
 IntPtr IWindowsFacade.CreateIoCompletionPort(SafeFileHandle fileHandle, SafeLocalMemHandle existingCompletionPort, uint completionKey,
                                              uint numberOfConcurrentThreads)
 {
     return(CreateIoCompletionPort(fileHandle, existingCompletionPort, completionKey, numberOfConcurrentThreads));
 }
Пример #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));
 }
Пример #6
0
 unsafe bool IWindowsFacade.PostQueuedCompletionStatus(SafeLocalMemHandle completionPort, uint ptrBytesTransferred, uint ptrCompletionKey,
                                                       NativeOverlapped *lpOverlapped)
 {
     return(PostQueuedCompletionStatus(completionPort, ptrBytesTransferred, ptrCompletionKey, lpOverlapped));
 }
Пример #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));
 }
Пример #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));
 }
Пример #9
0
 internal static extern unsafe bool PostQueuedCompletionStatus(
     [In] SafeLocalMemHandle completionPort,
     [In] UInt32 ptrBytesTransferred,
     [In] UInt32 ptrCompletionKey,
     [In] NativeOverlapped *lpOverlapped);
Пример #10
0
 internal static extern IntPtr CreateIoCompletionPort(
     [In] SafeFileHandle fileHandle,
     [In] SafeLocalMemHandle existingCompletionPort,
     [In] UInt32 completionKey,
     [In] UInt32 numberOfConcurrentThreads);
Пример #11
0
 internal static extern unsafe bool ConvertStringSecurityDescriptorToSecurityDescriptor(
     string stringSecurityDescriptor, int stringSdRevision, out SafeLocalMemHandle pSecurityDescriptor, IntPtr securityDescriptorSize);