C language function:ClusterRegEnumValue sample codes

Search sample code in the internet.It is the result.

TITLE : Exchange 2016 new DAG keeps switching active database : exchangeserver
AppLogEventMessage: Microsoft Exchange Server Locator Service failed to find active servers for the database availability group. Error: An >error occurred while attempting a cluster operation. Error: Cluster API failed: "ClusterRegEnumValue(first) failed >with 0x6ba. Error: The RPC server is unavailable"`.......

search Google