mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 05:30:50 +00:00
advapi32: Use BOOL type where appropriate.
This commit is contained in:
parent
1186c36c89
commit
6b6495e3ca
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue