GetLayout() function is missing from GDI32 import library up to and including w32api 4.0.3-1. Amusingly, SetLayout() is there -- but GetLayout() isn't.
GetLayout()
SetLayout()