IExtendPropertySheet2.GetWatermarks Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Namespace: Microsoft.CLRAdmin
Assembly: mscorcfg (in mscorcfg.dll)
Syntax
'Declaration
Function GetWatermarks ( _
lpIDataObject As IDataObject, _
<OutAttribute> ByRef lphWatermark As IntPtr, _
<OutAttribute> ByRef lphHeader As IntPtr, _
<OutAttribute> ByRef lphPalette As IntPtr, _
<OutAttribute> ByRef bStretch As Integer _
) As Integer
'Usage
Dim instance As IExtendPropertySheet2
Dim lpIDataObject As IDataObject
Dim lphWatermark As IntPtr
Dim lphHeader As IntPtr
Dim lphPalette As IntPtr
Dim bStretch As Integer
Dim returnValue As Integer
returnValue = instance.GetWatermarks(lpIDataObject, _
lphWatermark, lphHeader, lphPalette, _
bStretch)
int GetWatermarks(
IDataObject lpIDataObject,
out IntPtr lphWatermark,
out IntPtr lphHeader,
out IntPtr lphPalette,
out int bStretch
)
int GetWatermarks(
IDataObject^ lpIDataObject,
[OutAttribute] IntPtr% lphWatermark,
[OutAttribute] IntPtr% lphHeader,
[OutAttribute] IntPtr% lphPalette,
[OutAttribute] int% bStretch
)
function GetWatermarks(
lpIDataObject : IDataObject,
lphWatermark : IntPtr,
lphHeader : IntPtr,
lphPalette : IntPtr,
bStretch : int
) : int
Parameters
- lpIDataObject
Type: Microsoft.CLRAdmin.IDataObject
- lphWatermark
Type: System.IntPtr%
- lphHeader
Type: System.IntPtr%
- lphPalette
Type: System.IntPtr%
- bStretch
Type: System.Int32%
Return Value
Type: System.Int32
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Platforms
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 1.1, 1.0