Share via


CeNotifyPrivate_Lock (Windows Embedded CE 6.0)

1/6/2010

This function locks the notification database.

Syntax

void CeNotifyPrivate_Lock (void);

Parameters

None.

Return Value

None.

Remarks

You must call this function before you perform operations on a notification record in a database. The database should not be locked for extended period of time, because notification API calls are blocked while the database is locked. The integrity of NotifyPacket structures is guaranteed only while the database is locked. Before calling CeNotifyPrivate_TranslateOID, you must call CeNotifyPrivate_Lock to lock the database. When you are finished using the database, you must call CeNotifyPrivate_Unlock to unlock it.

Requirements

Header Notifext.hxx
Windows Embedded CE Windows CE 2.10 and later

See Also

Reference

Notification Functions