> For the complete documentation index, see [llms.txt](https://www.pinvoke.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.pinvoke.dev/filesystem/file_creation_disposition.md).

# FILE\_CREATION\_DISPOSITION

```csharp
public enum FILE_CREATION_DISPOSITION : uint
{
    CREATE_NEW = 1U,
    CREATE_ALWAYS = 2U,
    OPEN_EXISTING = 3U,
    OPEN_ALWAYS = 4U,
    TRUNCATE_EXISTING = 5U,
}
```
