# STARTUPINFOW

```csharp
public struct STARTUPINFOW
{
    public uint cb;
    public PWSTR lpReserved;
    public PWSTR lpDesktop;
    public PWSTR lpTitle;
    public uint dwX;
    public uint dwY;
    public uint dwXSize;
    public uint dwYSize;
    public uint dwXCountChars;
    public uint dwYCountChars;
    public uint dwFillAttribute;
    public STARTUPINFO_FLAGS dwFlags;
    public ushort wShowWindow;
    public ushort cbReserved2;
    public unsafe byte* lpReserved2;
    public HANDLE hStdInput;
    public HANDLE hStdOutput;
    public HANDLE hStdError;
}
```

[STARTUPINFO\_FLAGS](/threading/startupinfow_flags.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.pinvoke.dev/threading/startupinfow.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
