Condividi tramite


D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2 struttura (d3dkmthk.h)

La struttura D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2 contiene informazioni sugli eventi di sincronizzazione che la funzione D3DKMTWaitForSynchronizationObject2 attende.

Sintassi

typedef struct _D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2 {
  [in] D3DKMT_HANDLE hContext;
  [in] UINT          ObjectCount;
       D3DKMT_HANDLE ObjectHandleArray[D3DDDI_MAX_OBJECT_WAITED_ON];
  union {
    struct {
      D3DKMT_ALIGN64 UINT64 FenceValue;
    } Fence;
         D3DKMT_ALIGN64 UINT64 Reserved[8];
  };
} D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2;

Members

[in] hContext

Handle in modalità kernel al flusso di contesto in cui viene inserita un'attesa per gli eventi di sincronizzazione nella matrice specificata dal membro ObjectHandleArray .

[in] ObjectCount

Numero di eventi di sincronizzazione nella matrice ObjectHandleArray .

[in] ObjectHandleArray[D3DDDI_MAX_OBJECT_WAITED_ON]

Matrice di handle in modalità kernel agli eventi di sincronizzazione che il contesto specificato dal membro hContext attende. La costante D3DDDI_MAX_OBJECT_WAITED_ON, definita come 32, indica il numero massimo di eventi di sincronizzazione che il contesto può attendere.

Fence

Struttura che contiene informazioni su un recinto. L'unione in D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2 può contenere una struttura Di recinzione che contiene il membro seguente:

Fence.FenceValue

Valore a 64 bit che specifica il valore di recinzione da attendere.

Reserved[8]

Matrice di valori a 64 bit riservati per l'uso futuro. L'unione in D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2 può contenere questa matrice.

Requisiti

Requisito Valore
Client minimo supportato D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2 è supportato a partire dal sistema operativo Windows 7.
Intestazione d3dkmthk.h (include D3dkmthk.h)

Vedi anche

D3DKMTWaitForSynchronizationObject2