|
||
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 &)const
Issues a request for notification when changes occur in the environment.LogonCancel()const
Cancels an outstanding change notification request.Inherited from RHandleBase
:
Attributes()const
BTraceId()const
Returns 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()const
Gets the full name of the handle.FullName(TDes &)const
Gets the full name of the handle.Handle()const
Retrieves the handle-number of the object associated with this handle.HandleInfo(THandleInfo *)
Gets information about the handle.Name()const
Gets 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.iHandle
IMPORT_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 &)const
Issues a request for notification when changes occur in the environment.IMPORT_C TInt LogonCancel() const;
Cancels an outstanding change notification request.
|
RChangeNotifier::Logon(TRequestStatus &)const
Issues a request for notification when changes occur in the environment.