1 out of 1 rated this helpful Rate this topic

CALLLOGENTRY

Send Feedback

When the information for a specific call log entry is retrieved, the information is returned within a CALLLOGENTRY structure.

typedef struct {
  DWORD cbSize;
  FILETIME ftStartTime;
  FILETIME ftEndTime;
  IOM iom;
  BOOL fOutgoing:1;
  BOOL fConnected:1;
  BOOL fEnded:1;
  BOOL fRoam:1;
  CALLERIDTYPE cidt;
  PTSTR pszNumber;
  PTSTR pszName;
  PTSTR pszNameType;
  PTSTR pszNote;
} CALLLOGENTRY, * PCALLLOGENTRY;

Members

cbSize
The size of the CALLLOGENTRY structure. The value of this member must be set to sizeof CALLLOGENTRY before the PhoneGetCallLogEntry function is called.
ftStartTime
The start time of the logged call.
ftEndTime
The end time of the logged call.
iom
Indicates whether the call was missed (incoming), answered (incoming), or outgoing. This member contains one of the values in the IOM enumeration.
fOutgoing:1
Indicates the direction of the call (missed calls are incoming).
fConnected:1
Indicates whether the call connected (as opposed to a busy signal or no answer).
fEnded:1
Indicates whether the call ended (as opposed to being dropped).
fRoam:1
Indicates whether the call was made while roaming (as opposed to a call made within the home service area).
cidt
The caller ID type. This member contains one of the values in the CALLERIDTYPE enumeration.
pszNumber
Pointer to the telephone number of the call.
pszName
Pointer to the name associated with the call.
pszNameType
Pointer to the name type associated with the call. For example, "w" would correspond with the work telephone number, "h" would correspond with the home telephone number, and so on.
pszNote
Pointer to the file name of the Notes file associated with the call (if a Notes file exists).

Requirements

Pocket PC: Windows Mobile Version 5.0 and later
Smartphone: Windows Mobile Version 5.0 and later
OS Versions: Windows CE 5.01 and later.
Header: phone.h
Library: phone.lib

See Also

CALLERIDTYPE | IOM | PhoneGetCallLogEntry | Phone Structures


Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.


Did you find this helpful?
(1500 characters remaining)