get_current_pid

Function get_current_pid 

Source
pub unsafe fn get_current_pid() -> u32
Expand description

get current process ID

on x64, ClientId.UniqueProcess is at gs:[0x40]