共用方式為


CWinAppEx::IsStateExists

Indicates whether the specified key is in the registry.

BOOL IsStateExists(
   LPCTSTR lpszSectionName 
);

Parameters

  • [in] lpszSectionName
    A string that contains a path of a registry key.

Return Value

Nonzero if the key is in the registry; otherwise 0.

Requirements

Header: afxwinappex.h

See Also

Reference

CWinAppEx Class

Hierarchy Chart