This takes no input and returns an output copy event handle.
+
+
=== GetProcessEventInfo ===
+
+
This takes no input and attempts to receive a [[#ProcessEventInfo]] from the observer's message queue.
+
+
Every time a process event occurs, pgl receives the event from PM (it does pm:shell->GetProcessEventHandle() during startup and has a thread looping pm:shell->GetProcessEventInfo() to track process events.
+
+
PGL sends to all observers' message queues a [[#ProcessEventInfo]] for each event it receives, thus allowing for multiple subscribers to process events.
Line 153:
Line 165:
|-
|-
|}
|}
−
−
=== GetEventHandle ===
−
−
This takes no input and returns an output copy event handle.
−
−
=== GetEventInfo ===
−
−
This takes no input and attempts to receive a [[#ProcessEventInfo]] from the observer's message queue.
−
−
Every time a process event occurs, pgl receives the event from PM (it does pm:shell->GetProcessEventHandle() during startup and has a thread looping pm:shell->GetProcessEventInfo() to track process events.
−
−
PGL sends to all observers' message queues a [[#ProcessEventInfo]] for each event it receives, thus allowing for multiple subscribers to process events.