Previous | Next |
The StartIndexing method initiates indexing.
Syntax
HRESULT StartIndexing(
const WCHAR* pwszURL,
IWMStatusCallback* pCallback,
void* pvContext
);
Parameters
pwszURL
[in] Pointer to a wide character null terminated string containing the URL.
pCallback
[in] Pointer to a callback object.
pvContext
[in] Specifies a void pointer.
Return Values
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Return code | Description |
E_INVALIDARG | The parameter pwszURL or pCallback is NULL. |
NS_E_INVALIDKEY | The interface is not unlocked. |
NS_E_BUSY | The method cannot start indexing in the current state. |
Remarks
StartIndexing is an asynchronous call; it returns almost immediately and the user should wait for appropriate OnStatus calls to be sent to their callback function.
See Also
Previous | Next |