added netypoint code
added HookDefinitionTest