2.1 Function Syntax Conventions
The IP Media library (IPML) functions use the following format:
ipm_Function (DeviceHandle, Parameter1, Parameter2, ..., ParameterN, Mode)
- ipm_Function
- is the name of the function
- DeviceHandle
- is an input field that directs the function to a specific line device
- Parameter1, Parameter2, ..., ParameterN
- are input or output fields
- Mode
- is an input field indicating how the function is executed. This field is applicable to certain functions only. For example, ipm_Close( ) can only be called synchronously, so Mode is not used. Possible Mode values are:
- EV_ASYNC for asynchronous mode execution. When running asynchronously, the function will return 0 to indicate it has initiated successfully, and will generate a termination event to indicate completion.
- EV_SYNC for synchronous mode execution. When running synchronously, the function will return a 0 to indicate that it has completed successfully.
Click here to contact Telecom Support Resources
Copyright 2002, Intel Corporation