Поделиться через


Manager.GetDeviceCaps Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Retrieves information specific to a device.

Namespace:  Microsoft.WindowsMobile.DirectX.Direct3D
Assembly:  Microsoft.WindowsMobile.DirectX (in Microsoft.WindowsMobile.DirectX.dll)

Syntax

'Declaration
Public Shared Function GetDeviceCaps ( _
    adapter As Integer, _
    deviceType As DeviceType _
) As Caps
'Usage
Dim adapter As Integer
Dim deviceType As DeviceType
Dim returnValue As Caps

returnValue = Manager.GetDeviceCaps(adapter, _
    deviceType)
public static Caps GetDeviceCaps(
    int adapter,
    DeviceType deviceType
)
public:
static Caps GetDeviceCaps(
    int adapter, 
    DeviceType deviceType
)
static member GetDeviceCaps : 
        adapter:int * 
        deviceType:DeviceType -> Caps 

Parameters

Return Value

Type: Microsoft.WindowsMobile.DirectX.Direct3D.Caps
A Caps object that contains information that describes the device's capabilities.

Remarks

The application should not assume the persistence of vertex-processing capabilities across Device objects. The particular capabilities that a physical device exposes might depend on parameters supplied to Device. For example, the capabilities might yield different vertex-processing capabilities before and after creating a Device with hardware vertex processing enabled. For more information, see Caps.

.NET Framework Security

Platforms

Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC

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 Compact Framework

Supported in: 3.5, 2.0

See Also

Reference

Manager Class

Manager Members

Microsoft.WindowsMobile.DirectX.Direct3D Namespace