Share via


IMimeBody::GetOffsets method

Gets the offsets of the body.

Syntax

HRESULT GetOffsets(
  [out] LPBODYOFFSETS pOffsets
);

Parameters

pOffsets [out]

Type: LPBODYOFFSETS

Receives a pointer to the BODYOFFSETS structure containing the offsets.

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
S_OK
Indicates success.
E_INVALIDARG
Indicates that pOffsets is NULL.
MIME_E_NO_DATA
Indicates that the body has no offsets. This can happen if the body is not loaded from a storage source or if the body has not been saved because of a call to IMimeMessageTree::Save.

Requirements

Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Product
Outlook Express 6.0
Header
Mimeole.h
IDL
Mimeole.idl
DLL
Inetcomm.dll (version 6.0 or later)