Commit 6b6495e3 authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

advapi32: Use BOOL type where appropriate.

parent 1186c36c
......@@ -82,13 +82,13 @@ static BOOL hkcu_cache_disabled;
static const BOOL is_win64 = (sizeof(void *) > sizeof(int));
/* check if value type needs string conversion (Ansi<->Unicode) */
static inline int is_string( DWORD type )
static inline BOOL is_string( DWORD type )
{
return (type == REG_SZ) || (type == REG_EXPAND_SZ) || (type == REG_MULTI_SZ);
}
/* check if current version is NT or Win95 */
static inline int is_version_nt(void)
static inline BOOL is_version_nt(void)
{
return !(GetVersion() & 0x80000000);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment