summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSzymon Tokarz <wsx22@o2.pl>2013-03-16 23:23:44 +0000
committerSzymon Tokarz <wsx22@o2.pl>2013-03-16 23:23:44 +0000
commitbb18d3cc1394e374f3a064ef7eadf9fed5af35de (patch)
tree2d0e43e600ec9aaeb6fc9e149b83c0854d4ffaf3 /include
parenta1a305735072f66fc48de018d187ded085ecf89b (diff)
Correct mistake in the api documentation at /include/m_database.h for MS_DB_GETPROFILENAME[W] and MS_DB_GETPROFILEPATH[W]
git-svn-id: http://svn.miranda-ng.org/main/trunk@4065 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include')
-rw-r--r--include/m_database.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/m_database.h b/include/m_database.h
index dcb067405a..5bd82589f9 100644
--- a/include/m_database.h
+++ b/include/m_database.h
@@ -89,10 +89,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
/* DB/GetProfileName service
Gets the name of the profile currently being used by the database module. This
is the same as the filename of the database
- wParam = (WPARAM)(UINT)cbName
+ wParam = (WPARAM)(UINT)cbSize
lParam = (LPARAM)(char*)pszName
pszName is a pointer to the buffer that receives the name of the profile
-cbName is the size in bytes of the pszName buffer
+cbSize is the size in characters of the pszName buffer
Returns 0 on success or nonzero otherwise
*/
#define MS_DB_GETPROFILENAME "DB/GetProfileName"
@@ -103,10 +103,10 @@ Get the path of the base folder where Miranda will store all individual profiles
The returned path does NOT include a trailing backslash.
Essentially this is what has been set in mirandaboot.ini as ProfileDir.
For more options to retrieve profile paths check MS_UTILS_REPLACEVARS
- wParam = (WPARAM)(UINT)cbName
+ wParam = (WPARAM)(UINT)cbSize
lParam = (LPARAM)(char*)pszName
pszName is a pointer to the buffer that receives the path of the profile
-cbName is the size in bytes of the pszName buffer
+cbSize is the size in characters of the pszName buffer
Returns 0 on success or nonzero otherwise
*/
#define MS_DB_GETPROFILEPATH "DB/GetProfilePath"