PECompact 2
API Hook Plug-ins


GetHookAuthor

DWORD WINAPI GetHookAuthor(WCHAR *pwszAuthor, DWORD dwMaxChars);

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

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

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

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