Hi, recently ive been trying to find out the differences between the windows api (the dll files) and the windows.h header file, i found that the windows.h file contains the declarations and the dll files contain the definitions.

Could you explain to me why this is done in two different files, why not just have the definition and declaration in one file, wouldnt it be less hassle?