Microsoft DirectX 8.1 (C++) |
Retrieves the string parameter associated with an effect.
HRESULT GetString( LPCSTR pParameter, LPCSTR* ppString );
If the method succeeds, the return value is S_OK.
If the method fails, the return value can be D3DERR_INVALIDCALL.
If you want to keep the string returned from this method, create a copy of the string. There is no guarantee that the string pointer will still be valid across mulitple calls to effect methods.
Header: Declared in D3dx8effect.h.
Import Library: Use D3dx8.lib.