Condividi tramite


struttura D3DKMT_DESTROYALLOCATION2 (d3dkmthk.h)

La struttura D3DKMT_DESTROYALLOCATION2 descrive i parametri per il rilascio delle allocazioni con D3DKMTDestroyAllocation2.

Sintassi

typedef struct _D3DKMT_DESTROYALLOCATION2 {
  [in] D3DKMT_HANDLE                    hDevice;
  [in] D3DKMT_HANDLE                    hResource;
  void                             D3DKMT_PTR(
    const D3DKMT_HANDLE *unnamedParam1,
    phAllocationList    unnamedParam2
  );
  [in] UINT                             AllocationCount;
  [in] D3DDDICB_DESTROYALLOCATION2FLAGS Flags;
} D3DKMT_DESTROYALLOCATION2;

Members

[in] hDevice

Tipo di dati D3DKMT_HANDLE che rappresenta un handle in modalità kernel per il dispositivo a cui sono associate la risorsa, le allocazioni o entrambi.

[in] hResource

Tipo di dati D3DKMT_HANDLE che rappresenta un handle in modalità kernel per la risorsa associata alle allocazioni durante il rilascio di una risorsa. Se viene specificato un handle di risorsa, tutte le allocazioni associate vengono rilasciate automaticamente.

void D3DKMT_PTR( const D3DKMT_HANDLE *unnamedParam1, phAllocationList unnamedParam2)

[in] AllocationCount

Numero di allocazioni nella matrice specificata da phAllocationList . Se il driver client installabile OpenGL imposta l'handle nel membro hResource su un valore non NULL , il membro AllocationCount viene ignorato dal runtime OpenGL.

[in] Flags

Struttura D3DDDICB_DESTROYALLOCATION2FLAGS che contiene dettagli aggiuntivi sull'operazione.

Requisiti

Requisito Valore
Client minimo supportato Windows 10
Server minimo supportato Windows Server 2016
Intestazione d3dkmthk.h (include D3dkmthk.h)

Vedi anche

D3DDDICB_DESTROYALLOCATION2FLAGS

D3DKMTDestroyAllocation2