关键字参考
Null
Keyword value to use in function call.
参数
None.
注意/说明
Use this keyword to trigger specific operations of functions that accept it as parameter.
Null evaluates only to Null, still in mathematical operations this keyword has value of 0, and as string it has no value (empty string).
COM method will receive Null as VT_NULL VARIANT. DllCall's wstr and str types will be set to NULL (pointers).
相关
IsKeyWord, Default
示例/演示
; Message box with an "错误" title.
DllCall("user32.dll", "int", "MessageBoxW", "hwnd", 0, "wstr", "Some text", "wstr", Null, "dword", 0)