Share via


ICcDatastore::RegisterRefreshEvent (Compact 2013)

3/26/2014

Deprecated.

This method registers the refresh event callback interface for notification.

In Windows Embedded Compact 2013, 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

See Also

Reference

ICcDatastore
Core Connectivity Interfaces