Original Symbian headers
Selected EUSER, Window Server, networking, graphics and device declarations
Loading...
Searching...
No Matches
MAbortDirectScreenAccess Class Referenceabstract

The interface for terminating direct screen access. More...

#include <w32std.h>

Inheritance diagram for MAbortDirectScreenAccess:
MDirectScreenAccess

Public Member Functions

virtual void AbortNow (RDirectScreenAccess::TTerminationReasons aReason)=0
 This function is called by the window server when direct screen access must stop (for example because a dialogue is moved in front of the area where direct screen access is taking place).
 

Detailed Description

The interface for terminating direct screen access.

An object of a class which implements this interface should be passed to CDirectScreenAccess::NewL().

See also
MDirectScreenAccess
API status
Published to all clients. Released API.

Definition at line 2658 of file w32std.h.

Member Function Documentation

◆ AbortNow()

virtual void MAbortDirectScreenAccess::AbortNow ( RDirectScreenAccess::TTerminationReasons  aReason)
pure virtual

This function is called by the window server when direct screen access must stop (for example because a dialogue is moved in front of the area where direct screen access is taking place).

In response to this, direct screen access must stop immediately. In simple cases, this will involve cancelling the active object that is driving the drawing to the screen.

No attempt to call a Window Server API function can be made from AbortNow(), because then a temporary deadlock will occur. This is because WSERV is waiting to receive the client's acknowledgment that it has aborted, and so will not be able to service the call. As soon as the restriction no longer applies, the function Restart() will be called.

Parameters
aReasonThe reason why direct screen access was terminated.

The documentation for this class was generated from the following file: