Skip to content

Latest commit

 

History

History
143 lines (118 loc) · 4.56 KB

nf-cluadmex-igetclusterobjectinfo-getobjectname.md

File metadata and controls

143 lines (118 loc) · 4.56 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:cluadmex.IGetClusterObjectInfo.GetObjectName
IGetClusterObjectInfo::GetObjectName (cluadmex.h)
Returns the name of a cluster object.
GetObjectName
GetObjectName method [Failover Cluster]
GetObjectName method [Failover Cluster]
IGetClusterObjectInfo interface
IGetClusterObjectInfo interface [Failover Cluster]
GetObjectName method
IGetClusterObjectInfo.GetObjectName
IGetClusterObjectInfo::GetObjectName
_wolf_igetclusterobjectinfo_getobjectname
cluadmex/IGetClusterObjectInfo::GetObjectName
mscs.igetclusterobjectinfo_getobjectname
mscs\igetclusterobjectinfo_getobjectname.htm
MsCS
e45f3652-74da-4d93-826d-320ddae10f49
12/05/2018
GetObjectName, GetObjectName method [Failover Cluster], GetObjectName method [Failover Cluster],IGetClusterObjectInfo interface, IGetClusterObjectInfo interface [Failover Cluster],GetObjectName method, IGetClusterObjectInfo.GetObjectName, IGetClusterObjectInfo::GetObjectName, _wolf_igetclusterobjectinfo_getobjectname, cluadmex/IGetClusterObjectInfo::GetObjectName, mscs.igetclusterobjectinfo_getobjectname
cluadmex.h
Windows
None supported
Windows Server 2003 Enterprise, Windows Server 2003 Datacenter
CluAdmEx.idl
Windows
19H1
IGetClusterObjectInfo::GetObjectName
cluadmex/IGetClusterObjectInfo::GetObjectName
c++
APIRef
kbSyntax
COM
cluadmex.h
IGetClusterObjectInfo.GetObjectName

IGetClusterObjectInfo::GetObjectName

-description

[This method is available for use in the operating systems specified in the Requirements section. Support for this method was removed in Windows Server 2008.]

Returns the name of a cluster object.

-parameters

-param lObjIndex [in]

A number representing the zero-based index of the target object. lObjIndex is restricted to the number that can be retrieved by calling IGetClusterDataInfo::GetObjectCount.

-param lpszName [out]

Pointer to a null-terminated Unicode string containing the name of the object associated with lObjIndex. The lpszName parameter can be NULL, indicating that the caller is requesting only the name length. Although declared as a BSTR, this parameter is implemented as an LPWSTR.

-param pcchName [in, out]

On input, pointer to the count of characters in the buffer pointed to by the lpszName parameter. The pcchName parameter cannot be NULL. On output, pointer to the count of characters in the name stored in the content of lpszName, including the NULL-terminating character.

-returns

If GetObjectName is not successful, it can return other HRESULT values.

Return code/value Description
NOERROR
0
The operation was successful.
E_INVALIDARG
0x80070057
One or more of the parameters are invalid.
HRESULT_FROM_WIN32(ERROR_MORE_DATA)
0x800700ea
The buffer pointed to by lpszName is too small to hold the requested name. GetObjectName returns the required number of characters in the content of pcchName.

-remarks

If the lpszName parameter is specified as NULL, the GetObjectName method returns NOERROR.

-see-also

IGetClusterDataInfo::GetObjectCount

IGetClusterObjectInfo