Adds or replaces a variable key/value pair.
#include "ltms.h"
Language | Syntax |
---|---|
C | HRESULT IltmsPathResolver_Add(pPathResolver, key, value) |
C++ | HRESULT Add(key, value) |
Pointer to an IltmsPathResolver interface.
String containing the key to add or replace.
String containing the value to associate with the specified key.
Value | Meaning |
---|---|
S_OK | The function was successful. |
<> S_OK | An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation. |
Win32, x64.
For a C++ example, refer to Set Root Folder Example for C++.