aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README11
1 files changed, 4 insertions, 7 deletions
diff --git a/README b/README
index c8b3f5c..d7c644f 100644
--- a/README
+++ b/README
@@ -70,12 +70,9 @@ Following is a summary of some coding conventions used in the project.
- dw = DWORD
- lvi = LVITEM
- sz = unmanaged, zero-terminated narrow string (char*)
- - wsz = ... wide string (wchar_t*)
- - tsz = ... tstring (TCHAR*)
- - str = managed narrow string (std::string)
- - wstr = ... (std::wstring)
- - tstr = ... (std::basic_string<TCHAR>)
- - bstr = ... (std::basic_string<T> of any type T)
+ - wsz = unmanaged, zero-terminated wide string (wchar_t*)
+ - s = managed narrow string (std::string)
+ - ws = managed wide string (std::wstring)
The list above is non-exhaustive. Variables whose type is unknown (in
templates) do not need prefixes. Some very common self-explanatory
@@ -99,7 +96,7 @@ For example, prefer...
- LVITEM* over LPLVITEM
- int over INT
- DWORD over unsigned long
- (when interacting with the Windows API)
+ (but only when interacting with Windows)
Note...