The ClusApi.h file, which is part of the PlatformSDK should contain this…
typedef enum CLUSTER_RESOURCE_STATE {
ClusterResourceStateUnknown = -1,
ClusterResourceInherited = 0,
ClusterResourceInitializing = 1,
ClusterResourceOnline = 2,
ClusterResourceOffline = 3,
ClusterResourceFailed = 4,
ClusterResourcePending = 128,
ClusterResourceOnlinePending = 129,
ClusterResourceOfflinePending = 130
} CLUSTER_RESOURCE_STATE;
HTH
Alain is (now) WMI Program Manager at Microsoft and author of :
- Understanding Windows Management Instrumentation (WMI) Scripting and
- Leveraging Windows Management Instrumentation (WMI) Scripting
Two of the best references on WMI. He also writes for Windows Scripting Solutions newsletter (published by Penton Media, the publishers of Windows IT Pro & SQL Server magazines).