This documentation is archived and is not being maintained.

IExtendPropertySheet2::GetWatermarks Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Retrieves the watermark and header bitmaps for wizard sheets that are implemented as Wizard 97–style wizards.

Namespace:  Microsoft.Aspnet.Snapin
Assembly:  AspNetMMCExt (in AspNetMMCExt.dll)

int GetWatermarks(
	IDataObject^ lpIDataObject, 
	[OutAttribute] IntPtr% lphWatermark, 
	[OutAttribute] IntPtr% lphHeader, 
	[OutAttribute] IntPtr% lphPalette, 
	[OutAttribute] int% bStretch
)

Parameters

lpIDataObject
Type: Microsoft.Aspnet.Snapin::IDataObject
The IDataObject on the object containing context information about the scope or result item.
lphWatermark
Type: System::IntPtr%
The handle to a bitmap that serves as the watermark for Wizard 97 pages.
lphHeader
Type: System::IntPtr%
The handle to a bitmap that serves as the header for Wizard 97 pages.
lphPalette
Type: System::IntPtr%
The handle to a palette used for the bitmaps specified by lphWatermark and lphHeader.
bStretch
Type: System::Int32%
A GetWatermarks return value: true if the watermark and header bitmaps should be stretched rather than tiled; otherwise, false.

Return Value

Type: System::Int32

Return Value

Description

etch

true if the watermark and header bitmaps should be stretched rather than tiled; otherwise, false.

For more information about programming with the IExtendPropertySheet2 interface and the Microsoft Management Console (MMC), see the "MMC Programmer's Guide" in the MSDN Library.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: