示例#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);