# Function Reference

# _WinAPI_SetUserObjectInformation

Sets information about the specified window station or desktop object

#include <WinAPISys.au3>
_WinAPI_SetUserObjectInformation ( $hObject, $iIndex, $tData )

## Parameters

$hObject | Handle to the window station or desktop object.
$iIndex | The object information to be set. This parameter can be one of the following values. $UOI_FLAGS
$tData | The data of the object information. The data type depends on the information type. For more information, see _WinAPI_GetUserObjectInformation() function.

## Return Value

Success: | True
Failure: | False

## See Also

Search SetUserObjectInformation in MSDN Library.