The WinHelp_GetWindowContextNumber() function returns the context number (a long integer) for the current (front-most) window.
WinHelp_GetWindowContextNumber()
• None
Long integer
This function is typically used in the help processing procedure script. It returns the context number for the current window. If your application supports only window-level help, this function can be used to retrieve the context number for the current window when help is requested using the keyboard or “What’s this?” mode.