w32api_register_function

w32api_register_function 是從函式館中使用 PHP 註冊一個函式 function_name。

w32api_register_function,描述,

w32api_register_function

(4.2.0 - 4.2.3 only)

描述

bool w32api_register_function ( string library, string function_name, string return_type)
這個函式嘗試在 libary 中查找一個名為 function_name 的函式並且嘗試把它導入 PHP。這個函式將使用 return_type 類型被註冊。這個類型可以是一個標準的 PHP 類型,或者使用 w32api_deftype() 函式定義類型。所有的名稱大小寫敏感,內建的函式使用小寫字母。 如果成功則返回 TRUE,失敗則返回 FALSE

相關詞條

熱門詞條

聯絡我們