IsDllStruct
检查变量是否为 DllStruct 结构类型.
IsDllStruct ( variable )
参数
返回值
成功:
|
返回 1
|
失败:
|
返回 0, 表达式不是由 DllStructCreate 返回的 Dll 结构类型
|
备注
详细说明参考 语言参考-数据类型.
相关
DllStructCreate, VarGetType
函数示例
#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
----------------------------------------
|