次の方法で共有


CeRegisterReplNotification (Windows Embedded CE 6.0)

1/6/2010

This function registers to receive object store and mounted database volume notifications.

Syntax

BOOL CeRegisterReplNotification(
  CENOTIFYREQUEST* pRequest
);

Parameters

  • pRequest
    [in] Pointer to a CENOTIFYREQUEST structure that requests notifications be sent to an identified window. If this parameter is set to NULL, the previous notification request is removed.

Return Value

TRUE indicates success. FALSE indicates failure.

Remarks

Only one application can register to receive replication notification changes. If an application is already receiving notifications and a second application registers to receive notifications, the first application no longer receives notifications.

If the application that calls this function is generating the notifications, notification messages are not sent.

This function is part of the bit-based replication model and is not supported under the count-based replication model.

Requirements

Header pwindbas.h
Library coredll.lib
Windows Embedded CE Windows CE 2.10 and later

See Also

Reference

Database Replication Functions
CENOTIFICATION (CEDB)

Concepts

Bit-Based Replication