DllRegisterCluAdminExtension callback function

Registers a Failover Cluster Administrator extension DLL for resources with the cluster by adding information to the cluster database.

Syntax

HRESULT STDAPICALLTYPE DllRegisterCluAdminExtension(
  _In_ HCLUSTER hCluster
);

Parameters

hCluster [in]

Handle to the failover cluster to modify in the cluster database.

Return value

If DllRegisterCluAdminExtension is not successful, it can return one of the system error codes.

NOERROR

0

The Failover Cluster Administrator extension DLL was successfully registered.

Remarks

You must implement this function in your extension DLL. For each cluster object that you extend in the DLL, append the CLSID of the extension to the object's AdminExtensions property. For example, if your extension DLL extends a group, you would add the CLSID of the extension to the AdminExtensions property of the group.

Note that the AdminExtensions property is a REG_MULTI_SZ value. There may already be extensions defined for the object. Your implementation should not overwrite existing CLSIDs or create duplicate entries in the AdminExtensions properties.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2008 Datacenter, Windows Server 2008 Enterprise