# Function Reference

# _WinAPI_IsClassName

Wrapper to check ClassName of the control

#include <WinAPISysWin.au3>
_WinAPI_IsClassName ( $hWnd, $sClassName )

## Parameters

$hWnd | Handle to a control
$sClassName | Class name to check

## Return Value

True: | $sClassName matches ClassName retrieved from $hWnd
False: | $sClassName does not match ClassName retrieved from $hWnd

## Remarks

Used for checking correct $hWnd is passed into function