次の方法で共有


IDirect3DMobile::GetAdapterIdentifier (Windows Embedded CE 6.0)

1/6/2010

This method provides information about a specified device.

Syntax

HRESULT GetAdapterIdentifier(
  UINT Adapter,
  ULONG Flags,
  D3DMADAPTER_IDENTIFIER* pIdentifier
);

Parameters

  • Adapter
    [in] A value that indicates which device to provide information for. For possible values, see D3DMADAPTER Values.
  • Flags
    [in] Reserved for future use.
  • pIdentifier
    [out] A pointer to a D3DMADAPTER_IDENTIFIER structure that contains information about the desired device.

Return Value

If successful, this method returns D3DM_OK.

This method may return one of the following error values if it fails:

  • D3DMERR_INVALIDCALL
  • D3DMERR_INVALIDDEVICE
  • D3DMERR_DRIVERINVALIDCALL

For more information, see D3DMERR Values.

Requirements

Header d3dm.h
Library D3dm.lib, D3dmguid.lib
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

IDirect3DMobile
D3DMADAPTER Values
D3DMADAPTER_IDENTIFIER