Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - getwindowword() retrieves a word value at the specified offset http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 GetWindowWord()        Retrieves a word value at the specified offset
--------------------------------------------------------------------------------

   Syntax:              GetWindowWord( <hWnd>, <nIndex> )  --> <nValue>


   Parameters:

   <hWnd>               The handle of the window whose Index associated
                        word ( two bytes ) value is to be retrieved.

   <nIndex>             Specifies the zero-based index order of the value
                        to be retrieved.

                        #define GWW_HINSTANCE       (-6)
                        #define GWW_HWNDPARENT      (-8)
                        #define GWW_ID              (-12)

                        GWW_HINSTANCE   Specifies the instance handle of the
                                        module that owns the window.
                        GWW_HWNDPARENT  Specifies the handle of the parent
                                        window, if any. The SetParent function
                                        changes the parent window of a child
                                        window. An application should not call
                                        the SetWindowWord function to change
                                        the parent of a child window.
                        GWW_ID          Specifies the identifier of the child
                                        window.

   Returns:

   <nValue>             The returned value specifies information about the
                        given value.

   Source code:         SOURCE\\WINAPI\\GetWnd.c

   See also:            SetWindowWord() GetWindowLong() SetWindowLong()



Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson