summaryrefslogtreecommitdiff
path: root/frontends/windows/window.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-10-26 23:19:43 +0100
committerVincent Sanders <vince@kyllikki.org>2016-10-26 23:19:43 +0100
commit57715fc70cef09e39b9f8b6277b02304d4281a95 (patch)
tree3d673dcb33e4d540ed399e154aeb176994eb68fb /frontends/windows/window.h
parent489f6f1fa32f8017659529f2dc6a26780f8bb277 (diff)
downloadnetsurf-57715fc70cef09e39b9f8b6277b02304d4281a95.tar.gz
netsurf-57715fc70cef09e39b9f8b6277b02304d4281a95.tar.bz2
Improve windows win32 main browser window code documentation
Diffstat (limited to 'frontends/windows/window.h')
-rw-r--r--frontends/windows/window.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/frontends/windows/window.h b/frontends/windows/window.h
index 047cec654..95c443ebc 100644
--- a/frontends/windows/window.h
+++ b/frontends/windows/window.h
@@ -74,7 +74,7 @@ struct gui_window {
};
-/**
+/**
* Obtain gui window structure from window handle.
*
* \param hwnd The window handle.
@@ -92,13 +92,19 @@ bool nsws_window_go(HWND hwnd, const char *urltxt);
void win32_window_set_scroll(struct gui_window *w, int sx, int sy);
+/**
+ * Create the main browser window class.
+ *
+ * \param hinstance The application instance
+ * \return NSERROR_OK on success or NSERROR_INIT_FAILED if the class
+ * creation failed.
+ */
nserror nsws_create_main_class(HINSTANCE hinstance);
/**
* Get the main win32 window handle from a gui window
*/
-HWND gui_window_main_window(struct gui_window *);
-
+HWND gui_window_main_window(struct gui_window *gw);
/**
* Get the localhistory win32 window handle from a gui window