initialize

Function initialize 

Source
pub fn initialize(hinstance: usize) -> Result<()>
Expand description

Initialize overlay, hooks.

  • Calling more than once will fail.
  • Calling with holding loader lock (DllMain) will fail.
  • If given hinstance is invalid, some resources may not appear correctly.