invoke setdlgitemtext,hdlg,idc_classname,null
invoke setdlgitemtext,hdlg,idc_handle,null
invoke setdlgitemtext,hdlg,idc_wndproc,null
when the user presses unhook button, the program calls uninstallhook function in the hook dll. uninstallhook just calls unhookwindowshookex. after that, it changes the text of the button back to "hook", hookflag to false and clears the content of the edit controls.