ICcDatastore::RegisterRefreshEvent (Windows Embedded CE 6.0)
1/5/2010
This method registers the refresh event callback interface for notification.
In Windows Embedded CE 6.0, CoreCon HLAPI has been deprecated.
Syntax
HRESULT RegisterRefreshEvent(
BSTR in_bstrEventName
);
Parameters
- in_bstrEventName
[in] Event name that the datastore signals when a change occurs.
Return Value
The following table shows return values for ICcDatastore::RegisterRefreshEvent.
Value | Description |
---|---|
S_OK |
The datastore registered this event successfully. |
E_INVALIDARG |
The event name was NULL. |
E_FAIL |
A generic error occurred. |
Requirements
Header | ccdatastore.h |
Windows | Windows 2000, Windows Server 2003, Windows Server 2003 Service Pack 1, Windows XP Home, Windows XP Pro |