Microsoft DirectX 9.0 |
The GetMarkerName method retrieves the name associated with the specified marker.
Syntax
HRESULT GetMarkerName(
long MarkerNum,
BSTR *pbstrMarkerName
);
Parameters
MarkerNum
[in] Specifies the marker number.
pbstrMarkerName
[out] Pointer to a variable that receives the marker name.
Return Values
If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.
Remarks
The caller must release the returned BSTR by calling SysFreeString.
See Also