IDirect3DRMObject::GetClassName

Retrieves the name of the object's class.

HRESULT GetClassName(
LPDWORD lpdwSize,
LPSTR lpName
);

Parameters

lpdwSize

Address of a variable containing the size, in bytes, of the buffer pointed to by the lpName parameter.

lpName

Address of a variable that will contain a null-terminated string identifying the class name when the method returns. If this parameter is NULL, the lpdwSize parameter will contain the required size for the string when the method returns.

Return Values

Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.