TnefGetInfo

This function extracts information from an encoded transport-neutral encapsulation format (TNEF)file.

At a Glance

Header file: Tnefapi.h
Platforms: H/PC 3.0
Windows CE versions: 2.10 and later

Syntax

BOOL WINAPI TnefGetInfo(const TNEFINFO * pti,
MailNonIpmInfo **
lplpnii, MailAttArray ** lplpmaa);

Parameters

pti
[in] Pointer to a TNEFINFO structure that describes the TNEF file.
lplpnii
[out] Long pointer to a long pointer to a MailNonIpmInfo structure that returns the non-Interpersonal Message (IPM) information of the TNEF file.
lplpmaa
[out] Long pointer to a long pointer to a MailAttArray structure that returns the file attachments of the TNEF file. This parameter is optional; you do not have to receive the attachment information.

Return Values

TRUE indicates success. FALSE indicates failure.

Remarks

Regardless of whether this functions succeeds or fails, this function deletes the file described by the structure that pti points to.

While Windows CE version 2.10 does not support bundling attachments to a TNEF file, this function can extract meeting request properties from a TNEF file.

See Also

TnefBuildInfo