The GetBitmapDimension function has been deleted. Win32 applications should use the GetBitmapDimensionEx function.
GetBitmapDimensionEx