From 9cb64ba2151b213f5544b2e53c6668061f197b9c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 21 Jun 2015 13:43:01 +0000 Subject: MS_UTILS_GETRANDOM -> mir_core::Utils_GetRandom git-svn-id: http://svn.miranda-ng.org/main/trunk@14299 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/m_utils.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'include/m_utils.h') diff --git a/include/m_utils.h b/include/m_utils.h index 843685e2ac..3e8545f766 100644 --- a/include/m_utils.h +++ b/include/m_utils.h @@ -333,7 +333,7 @@ EXTERN_C MIR_CORE_DLL(int) PathIsAbsoluteW(const wchar_t *pSrc); // lParam = (LPARAM)(char*)pszArray - pointer to array to fill with random number // Always returns 0 -#define MS_UTILS_GETRANDOM "Utils/GetRandom" +EXTERN_C MIR_CORE_DLL(void) Utils_GetRandom(void *pszDest, size_t cbLen); ///////////////////////////////////////////////////////////////////////////////////////// // Replace variables in text @@ -440,7 +440,7 @@ __forceinline TCHAR* Utils_ReplaceVarsT(const TCHAR *szData) { #define ESF_RICHEDIT 3 #define ESF_PASSWORD 4 -typedef struct +struct ENTER_STRING { int cbSize; // structure size int type; // one of ESF_* constants @@ -453,8 +453,7 @@ typedef struct }; int recentCount; // number of combobox strings to store int timeout; // timeout for the form auto-close -} -ENTER_STRING; +}; ///////////////////////////////////////////////////////////////////////////////////////// // enters one string -- cgit v1.2.3