【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.5.3.5 Registry::HasKey
Contents
Description
Has the specified registry key or not.
Syntax
BOOL HasKey( LPCSTR lpSubKey )
Parameters
- lpSubKey
- [input] Pointer to a null-terminated string containing the name of the subkey to test.
Return
TRUE or FALSE.
Examples
EX1
BOOL Registry_HasKey_ex1() { Registry myRegAccess(HKEY_CLASSES_ROOT); if( myRegAccess.HasKey("abc") ) return TRUE; }
Remark
See Also
Header to Include
origin.h