summaryrefslogtreecommitdiff
path: root/redo/winapi_windows.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-01 18:25:59 -0400
committerPietro Gagliardi <[email protected]>2014-08-01 18:25:59 -0400
commit80828b8a7d2273d5f35b7114c8dfc10605fc5df8 (patch)
treed7897af6491bcbe1b0f1ede039220e936e5fe740 /redo/winapi_windows.h
parent7f027bae3c34afb1261ef60aa3754676f0fa648a (diff)
Changed LPCWSTR to LPWSTR in the Windows code as the C means const and there are a few cases of const->non-const conversions as a result.
Diffstat (limited to 'redo/winapi_windows.h')
-rw-r--r--redo/winapi_windows.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/redo/winapi_windows.h b/redo/winapi_windows.h
index 51bbe0e..4bd035c 100644
--- a/redo/winapi_windows.h
+++ b/redo/winapi_windows.h
@@ -33,14 +33,14 @@ extern HWND msgwin;
extern DWORD makemsgwin(char **);
/* comctl32_windows.c */
-extern DWORD initCommonControls(LPCWSTR, char **);
+extern DWORD initCommonControls(LPWSTR, char **);
/* these are listed as WINAPI in both Microsoft's and MinGW's headers, but not on MSDN for some reason */
extern BOOL (*WINAPI fv_SetWindowSubclass)(HWND, SUBCLASSPROC, UINT_PTR, DWORD_PTR);
extern BOOL (*WINAPI fv_RemoveWindowSubclass)(HWND, SUBCLASSPROC, UINT_PTR);
extern LRESULT (*WINAPI fv_DefSubclassProc)(HWND, UINT, WPARAM, LPARAM);
/* controls_windows.c */
-extern HWND newWidget(LPCWSTR, DWORD, DWORD);
+extern HWND newWidget(LPWSTR, DWORD, DWORD);
extern void controlSetParent(HWND, HWND);
extern void controlSetControlFont(HWND);
extern LRESULT forwardCommand(HWND, UINT, WPARAM, LPARAM);
@@ -71,26 +71,26 @@ extern void moveWindow(HWND, int, int, int, int);
/* window_windows.c */
extern DWORD makeWindowWindowClass(char **);
-extern HWND newWindow(LPCWSTR, int, int, void *);
+extern HWND newWindow(LPWSTR, int, int, void *);
extern void windowClose(HWND);
/* common_windows.c */
extern LRESULT getWindowTextLen(HWND);
-extern void getWindowText(HWND, WPARAM, LPCWSTR);
-extern void setWindowText(HWND, LPCWSTR);
+extern void getWindowText(HWND, WPARAM, LPWSTR);
+extern void setWindowText(HWND, LPWSTR);
extern void updateWindow(HWND);
extern void storelpParam(HWND, LPARAM);
/* containers_windows.go */
-extern LPCWSTR xWC_TABCONTROL;
+extern LPWSTR xWC_TABCONTROL;
extern void setTabSubclass(HWND, void *);
-extern void tabAppend(HWND, LPCWSTR);
+extern void tabAppend(HWND, LPWSTR);
extern void tabGetContentRect(HWND, RECT *);
/* table_windows.go */
-extern LPCWSTR xWC_LISTVIEW;
+extern LPWSTR xWC_LISTVIEW;
extern void setTableSubclass(HWND, void *);
-extern void tableAppendColumn(HWND, int, LPCWSTR);
+extern void tableAppendColumn(HWND, int, LPWSTR);
extern void tableUpdate(HWND, int);
extern void tableAddExtendedStyles(HWND, LPARAM);