PECompact 2
API Hook Plug-ins


GetHookName

DWORD WINAPI GetHookName(WCHAR *pwszName, DWORD dwMaxChars);                                   

This function returns the name of the API hook plug-in.

The required size of the pwszName buffer in characters  is returned by invoking this function with the first parameter NULL.

pwszName receives the wide-character name. If pwszName is NULL, the number of required characters including the null-terminator should be returned.

dwMaxChars is the maximum size, in characters, of the pwszName buffer. This includes space for a NULL terminator.