Hardware Access Api - Motorola Mobile Workstation 520 Application Developer's Manual

Table of Contents

Advertisement

34
MW-520 Application Developer's Guide

Hardware Access API

Register_Emg
WORD APIENTRY Register_Emg
WORD APIENTRY Register_Emg32
Purpose
Opens the emergency session.
Input
hwnd: Window handle of the emergency session.
uiMsg: The message number used for notification.
Output
None.
Returned Value 1 – ok, 0 – fail
DeRegister_Emg
WORD APIENTRY DeRegister_Emg
WORD APIENTRY DeRegister_Emg32
Purpose
Closes the emergency session.
Input
hwnd: Window handle of the emergency session.
Output
None.
Returned Value 1 – ok, 0 – fail
RegisterSysEvent
WORD APIENTRY RegisterSysEvent
event) or
WORD APIENTRY RegisterSysEvent32
event)
Purpose
Registers the application to get notification for the system events.
Input
hwnd: Specifies the handle of any user application.
uiMsg: The message number used for notification.
EMERGENCY
IGNITION
Output
event, pointer to actual system event status.
Returned Value 1 – ok, 0 – fail
(HWND hwnd, UINT uiMsg) or
(HWND hwnd, UINT uiMsg)
(HWND hwnd)
Register_Emg
(HWND hwnd)
(HWND hwnd, UINT uiMsg, WORD
(HWND hwnd, UINT uiMsg, WORD
0x0100
0x0040 (Windows 2000 only)
or
Register_Emg

Advertisement

Table of Contents
loading

This manual is also suitable for:

F5203F5205

Table of Contents