summaryrefslogtreecommitdiff
path: root/include/m_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/m_utils.h')
-rw-r--r--include/m_utils.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/include/m_utils.h b/include/m_utils.h
index 0b5b29468c..549cc18815 100644
--- a/include/m_utils.h
+++ b/include/m_utils.h
@@ -303,13 +303,17 @@ EXTERN_C MIR_CORE_DLL(int) PathIsAbsoluteW(const wchar_t *pSrc);
/////////////////////////////////////////////////////////////////////////////////////////
// Generates Random number of any length
-// wParam = size - length of the random number to generate
-// lParam = (LPARAM)(char*)pszArray - pointer to array to fill with random number
-// Always returns 0
+// cbLen = length of the random number to generate
+// pszDest = pointer to array to fill with random number
EXTERN_C MIR_CORE_DLL(void) Utils_GetRandom(void *pszDest, size_t cbLen);
/////////////////////////////////////////////////////////////////////////////////////////
+// Checks if a string is RTL
+
+EXTERN_C MIR_CORE_DLL(bool) Utils_IsRtl(const wchar_t *pszwText);
+
+/////////////////////////////////////////////////////////////////////////////////////////
// Replace variables in text
// wParam = (char*/wchar_t*/wchar_t*)string (depends on RVF_UNICODE/RVF_TCHAR flag)
// lParam = (REPLACEVARSDATA *) data about variables, item with key = 0 terminates the list