Skip to content

Latest commit

 

History

History
90 lines (67 loc) · 2.38 KB

nf-tapi-phonegetdata.md

File metadata and controls

90 lines (67 loc) · 2.38 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:tapi.phoneGetData
phoneGetData function (tapi.h)
The phoneGetData function uploads the information from the specified location in the open phone device to the specified buffer.
_tapi2_phonegetdata
phoneGetData
phoneGetData function [TAPI 2.2]
tapi/phoneGetData
tapi2.phonegetdata
tapi2\phonegetdata.htm
tapi3
9ad2f99e-73b3-4e4c-a6cd-49ca0fe775ca
12/05/2018
_tapi2_phonegetdata, phoneGetData, phoneGetData function [TAPI 2.2], tapi/phoneGetData, tapi2.phonegetdata
tapi.h
Windows
Tapi32.lib
Tapi32.dll
Windows
19H1
phoneGetData
tapi/phoneGetData
c++
APIRef
kbSyntax
DllExport
Tapi32.dll
phoneGetData

phoneGetData function

-description

The phoneGetData function uploads the information from the specified location in the open phone device to the specified buffer.

-parameters

-param hPhone

Handle to the open phone device.

-param dwDataID

Where in the phone device the buffer is to be uploaded from.

-param lpData

Pointer to the memory buffer where the data is to be uploaded.

-param dwSize

Size of the data buffer, in bytes.

-returns

Returns zero if the request succeeds or a negative error number if an error occurs. Possible return values are:

PHONEERR_INVALPHONEHANDLE, PHONEERR_NOMEM, PHONEERR_INVALPOINTER, PHONEERR_RESOURCEUNAVAIL, PHONEERR_INVALPHONESTATE, PHONEERR_OPERATIONFAILED, PHONEERR_INVALDATAID, PHONEERR_UNINITIALIZED, PHONEERR_OPERATIONUNAVAIL.

-remarks

The function uploads a maximum of dwSize bytes from the phone device into the memory area pointed to by lpData. If dwSize is zero, nothing is copied. The size of each data area is listed in the phone's device capabilities.

-see-also

Supplementary Phone Service Functions

TAPI 2.2 Reference Overview