PHP 手冊
前一頁 |  | 下一頁

# w32api_deftype

(4.2.0 - 4.2.3 only)

w32api_deftype -- Defines a type for use with other w32api_functions

## Description

bool w32api_deftype ( string typename, string member1_type, string member1_name [, string ... [, string ...]] )

警告
這個函數是實驗性質的。這個函數的行為、名稱、和關於此函數的任何其他文件在未來PHP的發行中可能會在不通知的情況下改變。 使用此延伸需自行承擔風險。

If you would like to define a type for a w32api call, you need to call w32api_deftype(). This function takes 2n+1 arguments, where n is the number of members the type has. The first argument is the name of the type. After that is the type of the member followed by the members name (in pairs). A member type can be a user defined type. All the type names are case sensitive. Built in type names should be provided in lowercase. 成功回傳`TRUE`失敗回傳`FALSE`。

前一頁 | 內容 | 下一頁
W32api Functions | 上一層 | w32api_init_dtype