# Struct user defined functions Reference

Below is a complete list of the user defined functions available in AutoIt. Click on a user defined function name for a detailed description.

When using them you need to add a #include <WinAPIMisc.au3>.

User Defined Function | Description
--- | ---
_WinAPI_ArrayToStruct | Converts an array of strings to the structure
_WinAPI_CopyStruct | Creates a duplicate of a specified structure
_WinAPI_CreateMargins | Creates $tagMARGINS structure with specified left, right, top, and bottom retaining borders
_WinAPI_CreatePoint | Creates $tagPOINT structure with the x- and y-coordinates of the specified point
_WinAPI_CreateRect | Creates $tagRECT structure with the coordinates of the specified rectangle
_WinAPI_CreateRectEx | Creates $tagRECT structure with the coordinates of the specified rectangle
_WinAPI_CreateSize | Creates $tagSIZE structure with the width and height of the specified rectangle
_WinAPI_StructToArray | Converts the structure to the array of strings
_WinAPI_UnionStruct | Creates the structure of two structures