[DllImport("KERNEL32.dll", ExactSpelling = true)]
[DefaultDllImportSearchPaths(DllImportSearchPath.System32)]
public static extern unsafe HANDLE CreateNamedPipeW(
PCWSTR lpName,
FILE_FLAGS_AND_ATTRIBUTES dwOpenMode,
NAMED_PIPE_MODE dwPipeMode,
uint nMaxInstances,
uint nOutBufferSize,
uint nInBufferSize,
uint nDefaultTimeOut,
[Optional] SECURITY_ATTRIBUTES* lpSecurityAttributes);