Zig 0.17.0-dev (Split by item)

Shortcut keys
?
Show these tips
S
Focus search field
Esc
Clear focus & close tips
U
Jump to source code
↑
Move up in search results
↓
Move down in search results
↵
Go to active search result
This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Struct

FULL_INFORMATION

Public Struct
std.os.windows.FILE.NOTIFY.FULL_INFORMATION
pub const FULL_INFORMATION = extern struct

Fields

NextEntryOffset: ULONG
Action: ULONG
CreationTime: LARGE_INTEGER
LastModificationTime: LARGE_INTEGER
LastChangeTime: LARGE_INTEGER
LastAccessTime: LARGE_INTEGER
AllocatedLength: LARGE_INTEGER
FileSize: LARGE_INTEGER
FileAttributes: ATTRIBUTE
u: extern union { ReparsePointTag: ULONG, EaSize: ULONG, }
FileId: LARGE_INTEGER
ParentFileId: LARGE_INTEGER
FileNameLength: ULONG
FileNameFlags: NAME_FLAGS
FileName: [0]WCHAR

Functions

pub fn fileName(info: *INFORMATION) []WCHAR

File

os/windows.zig:265
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
        pub const FULL_INFORMATION = extern struct {
            NextEntryOffset: ULONG,
            Action: ULONG,
            CreationTime: LARGE_INTEGER,
            LastModificationTime: LARGE_INTEGER,
            LastChangeTime: LARGE_INTEGER,
            LastAccessTime: LARGE_INTEGER,
            AllocatedLength: LARGE_INTEGER,
            FileSize: LARGE_INTEGER,
            FileAttributes: ATTRIBUTE,
            u: extern union {
                ReparsePointTag: ULONG,
                EaSize: ULONG,
            },
            FileId: LARGE_INTEGER,
            ParentFileId: LARGE_INTEGER,
            FileNameLength: ULONG,
            FileNameFlags: NAME_FLAGS,
            FileName: [0]WCHAR,

            pub fn fileName(info: *INFORMATION) []WCHAR {
                const ptr: [*]WCHAR = @ptrCast(&info.FileName);
                return ptr[0..@divExact(info.FileNameLength, @sizeOf(WCHAR))];
            }
        }