Compartir a través de


Manager.GetDeviceCaps Method

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
)
public static Caps GetDeviceCaps (
    int adapter, 
    DeviceType deviceType
)
public static function GetDeviceCaps (
    adapter : int, 
    deviceType : DeviceType
) : Caps
Not applicable.

Parameters

  • deviceType
    Member of the DeviceType enumeration that identifies the device type.

Return Value

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.

Platforms

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

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Compact Framework

Supported in: 2.0

See Also

Reference

Manager Class
Manager Members
Microsoft.WindowsMobile.DirectX.Direct3D Namespace