Windows-powershell / PowerShell-master /src /System.Management.Automation /engine /Interop /Windows /PostQueuedCompletionStatus.cs
| // Copyright (c) Microsoft Corporation. | |
| // Licensed under the MIT License. | |
| using System.Runtime.InteropServices; | |
| internal static partial class Interop | |
| { | |
| internal static unsafe partial class Windows | |
| { | |
| [] | |
| [] | |
| private static partial bool PostQueuedCompletionStatus( | |
| SafeIoCompletionPort CompletionPort, | |
| int lpNumberOfBytesTransferred, | |
| nint lpCompletionKey, | |
| nint lpOverlapped); | |
| internal static bool PostQueuedCompletionStatus( | |
| SafeIoCompletionPort completionPort, | |
| int status) | |
| { | |
| return PostQueuedCompletionStatus(completionPort, status, nint.Zero, nint.Zero); | |
| } | |
| } | |
| } | |