Function GetCurrentThread [src]

Prototype

pub fn GetCurrentThread() HANDLE

Source

pub fn GetCurrentThread() HANDLE { const thread_pseudo_handle: usize = @bitCast(@as(isize, -2)); return @ptrFromInt(thread_pseudo_handle); }