ah right i see im stupid i didnt look at the code right!
i seen
code:
Interop.Call("User32", "GetWindowRect", Handle * 1, RECT);
var CurWidth = RECT.ReadDWORD - RECT.ReadDWORD(0);
and didn't realise that it was getting the coords then from that working out the width *hits head*