The handle is a (usually 32-bit) integer, which represents an object. The handle in Windows is similar to the file handle used in traditional C or MS-DOS programming. The program almost always got the handle by calling the Windows function. The program uses this handle in other Windows functions to use the object it represents. The actual value of the code is irrelevant to the program. However, the Windows module that provides code to your program knows how to use it to use the corresponding object.