From d8d47251a0c73269c320e2fec10faad20f4a731d Mon Sep 17 00:00:00 2001 From: Gabor Hojtsy Date: Sat, 20 Jul 2002 13:49:26 +0000 Subject: [PATCH] Adding documentation from php4/ext/w32api/README and the updated example from the examples dir. Using the new structure, moving constants here... git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@89192 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/w32api/constants.xml | 136 +++++++++++++++++++++++++++++++++ reference/w32api/reference.xml | 70 ++++++++++++++++- 2 files changed, 202 insertions(+), 4 deletions(-) create mode 100644 reference/w32api/constants.xml diff --git a/reference/w32api/constants.xml b/reference/w32api/constants.xml new file mode 100644 index 0000000000..c9681093da --- /dev/null +++ b/reference/w32api/constants.xml @@ -0,0 +1,136 @@ + + +
+ &reftitle.constants; + &extension.constants; + + + + DC_MICROSOFT + (integer) + + + + + + + + + + DC_BORLAND + (integer) + + + + + + + + + + DC_CALL_CDECL + (integer) + + + + + + + + + + DC_CALL_STD + (integer) + + + + + + + + + + DC_RETVAL_MATH4 + (integer) + + + + + + + + + + DC_RETVAL_MATH8 + (integer) + + + + + + + + + + DC_CALL_STD_BO + (integer) + + + + + + + + + + DC_CALL_STD_MS + (integer) + + + + + + + + + + DC_CALL_STD_M8 + (integer) + + + + + + + + + + DC_FLAG_ARGPTR + (integer) + + + + + + + + +
+ + diff --git a/reference/w32api/reference.xml b/reference/w32api/reference.xml index 346d2c2141..23d8b05afb 100644 --- a/reference/w32api/reference.xml +++ b/reference/w32api/reference.xml @@ -1,12 +1,74 @@ - + W32api functions - W32api functions + W32api - - +
+ &reftitle.intro; + + This extension is a generic extension api to DLLs. This was originally + written to allow access to the Win32 API from PHP. Although you can also + access other functions exported via other DLLs. + + + Currently supported types are generic PHP types (strings, bools, doubles, + longs and null's) others will be added in the future. + +
+ + &reference.w32api.constants; + +
+ &reftitle.examples; + + This example gets the amount of time the system has been running and + displays it in a message box. + + + Get the uptime and display in a message box + + +]]> + + +
&reference.w32api.functions;