|
|
|
class RChangeNotifier : public RHandleBase;
A handle to a change notifier.
The change notifier itself is a kernel object.
RHandleBase - A handle to an object.
RChangeNotifier - A handle to a change notifier.
Defined in RChangeNotifier:
Create()Creates a change notifier, and opens this handle to that change notifier.Logon(TRequestStatus &)constIssues a request for notification when changes occur in the environment.LogonCancel()constCancels an outstanding change notification request.Inherited from RHandleBase:
Attributes()constBTraceId()constReturns a unique object identifier for use with BTrace
Close()Closes the handle.Duplicate(const RThread &,TOwnerType)Creates a valid handle to the kernel object for which the specified thread alrea...FullName()constGets the full name of the handle.FullName(TDes &)constGets the full name of the handle.Handle()constRetrieves the handle-number of the object associated with this handle.HandleInfo(THandleInfo *)Gets information about the handle.Name()constGets the name of the handle.Open(const TFindHandleBase &,TOwnerType)Opens a handle to a kernel side object found using a find-handle object.RHandleBase(TInt)Copy constructor.SetHandle(TInt)Sets the handle-number of this handle to the specified value.SetHandleNC(TInt)Sets the handle-number of this handle to the specified value, and marks it as no...SetReturnedHandle(TInt)Sets the handle-number of this handle to the specified value.iHandleIMPORT_C TInt Create();
Creates a change notifier, and opens this handle to that change notifier.
Ownership of this change notifier is vested in the current process.
|
IMPORT_C TInt Logon(TRequestStatus &aStatus) const;
Issues a request for notification when changes occur in the environment.
A switch in locale, or crossing over past midnight, are examples of changes that are reported.
When a change in the environment occurs, the request completes and the TRquestStatus object will contain one or more of the bit values defined by the TChanges enum.
Alternatively, if an outstanding request is cancelled by a call to this handle's RChangeNotifier::LogonCancel()const member function, then the request completes with a KErrCancel.
Note that if this is the first notification request after creation of the change notifier, then this request completes immediately.
|
|
TChanges...RChangeNotifier::Logon(TRequestStatus &)constIssues a request for notification when changes occur in the environment.IMPORT_C TInt LogonCancel() const;
Cancels an outstanding change notification request.
|
RChangeNotifier::Logon(TRequestStatus &)constIssues a request for notification when changes occur in the environment.