Επεξεργασία

Κοινή χρήση μέσω


IExtendPropertySheet2.GetWatermarks Method

Definition

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

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

public:
 int GetWatermarks(Microsoft::Aspnet::Snapin::IDataObject ^ lpIDataObject, [Runtime::InteropServices::Out] IntPtr % lphWatermark, [Runtime::InteropServices::Out] IntPtr % lphHeader, [Runtime::InteropServices::Out] IntPtr % lphPalette, [Runtime::InteropServices::Out] int % bStretch);
public int GetWatermarks (Microsoft.Aspnet.Snapin.IDataObject lpIDataObject, out IntPtr lphWatermark, out IntPtr lphHeader, out IntPtr lphPalette, out int bStretch);
abstract member GetWatermarks : Microsoft.Aspnet.Snapin.IDataObject * nativeint * nativeint * nativeint * int -> int
Public Function GetWatermarks (lpIDataObject As IDataObject, ByRef lphWatermark As IntPtr, ByRef lphHeader As IntPtr, ByRef lphPalette As IntPtr, ByRef bStretch As Integer) As Integer

Parameters

lpIDataObject
IDataObject

The IDataObject on the object containing context information about the scope or result item.

lphWatermark
IntPtr

nativeint

The handle to a bitmap that serves as the watermark for Wizard 97 pages.

lphHeader
IntPtr

nativeint

The handle to a bitmap that serves as the header for Wizard 97 pages.

lphPalette
IntPtr

nativeint

The handle to a palette used for the bitmaps specified by lphWatermark and lphHeader.

bStretch
Int32

A GetWatermarks return value: true if the watermark and header bitmaps should be stretched rather than tiled; otherwise, false.

Returns

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

Remarks

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

Applies to