BCGControlBar Pro for MFC
virtual BOOL CBCGPRegistry::VerifyKey ( LPCTSTR  pszPath)

Determines if a key does exist.

Nonzero if a key does exist; otherwise 0.

Call this function to verify that a specified by pszKey registry key does exist and can be opened either with read only or all access rights. The access rights were specified in the constructor of the CBCGPRegistry object

pszPathSpecifies the name of a key to be verified.