# Function Reference

# _WinAPI_RegisterClass

Registers a window class

#include <WinAPISysWin.au3>
_WinAPI_RegisterClass ( $tWNDCLASS )

## Parameters

$tWNDCLASS | $tagWNDCLASS structure.

## Return Value

Success: | The value is a class atom that uniquely identifies the class being registered.
Failure: | 0, call _WinAPI_GetLastError() to get extended error information.

## See Also

Search RegisterClass in MSDN Library.