PHMakePhoneCall (Windows Embedded CE 6.0)
1/6/2010
This API, given a PH_MAKEPHONECALL_PARAMETERS structure, makes a phone call. It ends up requesting that the phone application, IP Dialer, make a phone call with the desired parameters
Syntax
HRESULT PHMakePhoneCall(
const PH_MAKEPHONECALL_PARAMETERS* pParameters
);
Parameters
- pParameters
[in] A pointer to a PH_MAKEPHONECALL_PARAMETERS structure that includes the information about who to call.
Return Value
The function returns an HRESULT indicating if the call succeeded or failed. The following table shows additional possible return values.
Value | Description |
---|---|
E_FAIL |
Failure. |
E_INVALIDARG |
The passed pointer was invalid or NULL. |
Remarks
Note
This documentation applies to functionality implemented in sample code for PhCommon. For more information, see PhCommon Reference.
This function calls phonecore.dll, which is part of the IP Dialer, a component of the sample code, IP Phone Suite. It calls the MakePhoneCall API exposed by phonecore.dll. Both PHMakePhoneCall and PHOnHookDialing are remote APIs which proxy into the phone application. They simply send the data structures to the running instance of the phone app, IP Dialer, via phonecore.dll.
Requirements
Header | phoneapi.hpp |
Library | PhCommon.dll |
Windows Embedded CE | Windows Embedded CE 6.0 and later |