From bb18d3cc1394e374f3a064ef7eadf9fed5af35de Mon Sep 17 00:00:00 2001 From: Szymon Tokarz Date: Sat, 16 Mar 2013 23:23:44 +0000 Subject: 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 --- include/m_database.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include') 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" -- cgit v1.2.3