Function Reference


IsDllStruct

Checks if a variable is a DllStruct type.

IsDllStruct ( variable )

Parameters

variable The variable/expression to check.

Return Value

Success: 1.
Failure: 0 if expression is not DllStruct type as return by DllStructCreate.

Remarks

See language datatypes for a detailed description.

Related

DllStructCreate, VarGetType

Example

#include <MsgBoxConstants.au3>

Local $tStruct = DllStructCreate("wchar[256]")
If IsDllStruct($tStruct) Then
        MsgBox($MB_SYSTEMMODAL, "", "The variable is a dll structure")
Else
        MsgBox($MB_SYSTEMMODAL, "", "The variable is not a dll structure")
EndIf