GetClusterResourceDependencyExpression Function

Retrieves the dependency expression associated with the specified resource.

Syntax


DWORD WINAPI GetClusterResourceDependencyExpression(
  __in       HRESOURCE hResource,
  __out_opt  LPWSTR lpszDependencyExpression,
  __inout    LPDWORD lpcchDependencyExpression
);

Parameters

hResource [in]

Handle to the resource.

lpszDependencyExpression [out, optional]

Address of buffer that will receive the dependency expression.

lpcchDependencyExpression [in, out]

Size in bytes of buffer pointed to by the lpszDependencyExpression parameter.

Return Value

ERROR_SUCCESS (0) if successful.

Requirements

Minimum supported clientNone supported
Minimum supported serverWindows Server 2008 Datacenter Edition, Windows Server 2008 Enterprise Edition
HeaderClusApi.h
LibraryClusApi.lib
DLLClusApi.dll

See Also

Cluster Registry Access Functions
SetClusterResourceDependencyExpression


Send comments about this topic to Microsoft

Build date: 2/9/2009

Show: