IMessageView::SetBodyText method (mmc.h)
The IMessageView::SetBodyText method enables a snap-in to set the body text for the result pane message displayed using the MMC message OCX control.
Syntax
HRESULT SetBodyText(
[in] LPCOLESTR pszBodyText
);
Parameters
[in] pszBodyText
A pointer to a null-terminated string that contains the body text for the result pane message.
Return value
This method can return one of these values.
Remarks
MMC creates its own copies of the strings passed to it when the snap-in calls the IMessageView::SetTitleText and IMessageView::SetBodyText methods. The snap-in can release the resources at any time after calling SetTitleText and SetBodyText.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | mmc.h |
DLL | Mmcndmgr.dll |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for