parameters: (self, event)
docstring: Hook the requested API calls (in self.apiHooks).
  
          This method is called automatically whenever a DLL is loaded.
docstring_summary: Hook the requested API calls (in self.apiHooks).
docstring_tokens: Hook the requested API calls ( in self . apiHooks ) .
function: def __hook_dll(self, event):
          """
          Hook the requested API calls (in self.apiHooks).
  
          This method is called automatically whenever a DLL is loaded.
          """
          debug = event.debug
          pid   = event.get_pid()
          for hook_api_stub in self.__get_hooks_for_dll(event):
              hook_api_stub.hook(debug, pid)
function_tokens: def __hook_dll ( self , event ) : debug = event . debug pid = event . get_pid ( ) for hook_api_stub in self . __get_hooks_for_dll ( event ) : hook_api_stub . hook ( debug , pid )