(Page 11 of 15 in this chapter) Version
faxOpen
Description
- Opens the specified fax device.
Prototype
- LONG faxOpen ( HFAX *phFax,
UINT uDeviceID,
DWORD dwCallback,
DWORD fwdOpen,
DWORD dwInstance)
- phFax Handle returned by TAPI.
- uDeviceID Device ID of fax device to open.
- dwCallback Reserved for future use.
- fwdOpen Must be set to FXO_EVENT.
- dwInstance Accepts a handle to an event object that you previously created.
Return Values
Events
Details
- Verifies that the specified device can be opened as a fax device, then creates and stores a handle of the fax device into hFax.
- Before calling this function, you must create an event object, and provide its handle as the instance argument. You can then use faxGetMessage
to get information about the events resulting from faxOpen.
See Also
- faxClose
, faxGetMessage
(Page 11 of 15 in this chapter) Version
Want to send us feedback on our documentation? Email: Tech_Pubs@nmss.com
Copyright © 2001, Natural MicroSystems, Inc. All rights
reserved.