   GetClientRect
  this is all in visual studio 08 c++ with the june sdk for directx10im trying to move some directx10 code into a dll for use in c#, i used a windows forms control library and windows forms app to try and test it. and after dealing with the managed and unmanaged errors and such the linker started giving me problems about lnk2028 and lnk2019 for unresolved externals and unresolved tokens. most of them i was able to clear up by linking the directx10 libraries in the properties of my project but i have not been able to find out what library to link for using  GetClientRect() i have tried including all of the x86 directx libraries and it is still unresolved. does anyone know where it is defined? or can i get the forms rectangle another way??   
  Try user32.lib, as indicated on GetClientRect's doc page.   