RemoveClusterResourceDependency function
Removes a dependency relationship between two resources.
Syntax
DWORD WINAPI RemoveClusterResourceDependency( _In_ HRESOURCE hResource, _In_ HRESOURCE hDependsOn );
Parameters
- hResource [in]
-
Handle to the dependent resource.
- hDependsOn [in]
-
Handle to the resource that the resource identified by hResource currently depends on.
Return value
If the operation succeeds, the function returns ERROR_SUCCESS.
If the operation fails, the function returns a system error code.
Remarks
Do not call RemoveClusterResourceDependency from a resource DLL. For more information, see Function Calls to Avoid in Resource DLLs.
Do not pass LPC and RPC handles to the same function call. Otherwise, the call will raise an RPC exception and can have additional destructive effects. For information on how LPC and RPC handles are created, see Using Object Handles and OpenCluster.
Requirements
|
Minimum supported client | None supported [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server Advanced Server, Windows 2000 Server Datacenter [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 11/28/2012
