diff --git a/src/WinAPI/NativeMethods/Advapi32.Services.cs b/src/WinAPI/NativeMethods/Advapi32.Services.cs index c344dcb..e22ffbd 100644 --- a/src/WinAPI/NativeMethods/Advapi32.Services.cs +++ b/src/WinAPI/NativeMethods/Advapi32.Services.cs @@ -1999,7 +1999,7 @@ public struct SERVICE_LAUNCH_PROTECTED_INFO public static extern bool QueryServiceStatusEx( [In] nint hService, [In] uint InfoLevel, - [Out, Optional] byte* lpBuffer, + [Out, Optional] void* lpBuffer, [In] uint cbBufSize, [Out] uint* pcbBytesNeeded );