Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the offsets for the specified body.
Syntax
HRESULT GetBodyOffsets(
[in] HBODY hBody,
[in, out] LPBODYOFFSETS pOffsets
);
Parameters
-
hBody [in]
-
Type: HBODY
Specifies the handle of the body. Use HBODY_ROOT (0xffffffff) to indicate the root body.
-
pOffsets [in, out]
-
Type: LPBODYOFFSETS
Receives a pointer to the BODYOFFSETS structure for the specified body.
Return value
Type: HRESULT
Returns one of the following values.
Return code | Description |
---|---|
|
Indicates success. |
|
Indicates that an unknown error has occurred. |
|
Indicates that hBody or pOffsets is NULL. |
|
Indicates that hBody is equal to HBODY_ROOT (0xffffffff) and there is no root body. |
|
Indicates that hBody is an invalid handle. |
Remarks
This method is equivalent to:
pMessageTree->BindToObject(hBody, IID_IMimeBody, (LPVOID *)&pBody);
pBody->GetOffsets(pOffsets);
Requirements
Minimum supported client |
Windows XP [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Product |
Outlook Express 6.0 |
Header |
|
IDL |
|
DLL |
|