PrApi: PREvent

PREvent

General PR event.

 Event PREvent(
	  ByVal prevent_ As Long,
	  ByVal param1 As Long,
	  ByVal param2 As Long )

Parameters

prevent_
The type of the event.
param1
First general event parameter.
param2
Second general event parameter.

Languages

[Visual Basic] Event PREvent(ByVal prevent_ As Long, ByVal param1 As Long, ByVal param2 As Long)

[Delphi] procedure PREvent(Sender: TObject; prevent_, param1, param2: Integer);

[C++] void PREvent(long prevent_, long param1, long param2);

Remarks

It is raised on events specified by the EventTypes property during capture.

[Delphi] The Sender parameter indicates which component received the event and therefore called the handler.

See Also

Class PrApi Overview PrApi Properties PrApi Methods PowerState PreviewEvent