6.7 Identifier reference

validateRect

Function

The ML function validateRect corresponds to the C function ValidateRect in the Windows SDK. It has the following type:

val validateRect : hwnd * rect MLWorks.Option.option -> unit

Whereas the Windows function returns a BOOL, the ML function returns unit, and raises an exception if the function fails. Furthermore, the ML function passes the actual rect structure, whereas the Windows function passes a pointer.


MLWorks Reference Manual (version 1.0) - 3 DEC 1996

Generated with Harlequin WebMaker