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;