IDirect3DRMMaterial::GetSpecular

HRESULT GetSpecular(D3DVALUE *lpr, D3DVALUE *lpg, D3DVALUE *lpb);

Retrieves the color of the specular highlights of a material.

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

lpr, lpg, and lpb

Addresses that will contain the red, green, and blue components of the color of the specular highlights when the method returns.