Bewerken

Delen via


D3DDDI_QUERYREGISTRY_FLAGS structure (d3dukmdt.h)

These flags control how strings are being retrieved through D3DKMTQueryAdapterInfo for KMTQAITYPE_QUERYREGISTRY.

Syntax

typedef struct _D3DDDI_QUERYREGISTRY_FLAGS {
  union {
    struct {
      UINT TranslatePath : 1;
      UINT MutableValue : 1;
      UINT Reserved : 30;
    };
    UINT Value;
  };
} D3DDDI_QUERYREGISTRY_FLAGS;

Members

TranslatePath

When a particular registry key stores a path to another driver file, the caller of QueryAdapterInfo might have that path translated into the path that an isolated processes can access. Setting TranslatePath to 1 indicates the registry key is a string that should be translated, when appropriate.

The registry string must be a full path to a file in the driver store. Translation won't occur when translation isn't needed.

TranslatePath must be set to 0 when D3DDDI_QUERYREGISTRY_DRIVERSTOREPATH and D3DDDI_QUERYREGISTRY_DRIVERIMAGEPATH are used. However, D3DDDI_QUERYREGISTRY_DRIVERSTOREPATH and D3DDDI_QUERYREGISTRY_DRIVERIMAGEPATH will always act as-if TranslatePath were set to 1.

MutableValue

Reserved. Callers of QueryAdapterInfo must set this value to 0.

Reserved

Reserved. Callers of QueryAdapterInfo must set this value to 0.

Value

The Value field exists to read all these flags in a raw syntax, instead of the named bitfield.

Value

Requirements

Requirement Value
Header d3dukmdt.h

See also

D3DDDI_QUERYREGISTRY_INFO