#ifndef _NTD3DKMT_H
// rev
// Reads the legacy direct-flip parameter block: 16 bytes on x64, 12 bytes on x86.
/**
* Pins the ResourceCount graphics resources in Resources->pResourceList for Resources->hDevice. Uses the SDK
* D3DKMT_PINDIRECTFLIPRESOURCES type. The client reads the device at offset 0, count at offset 4, and pointer at
* offset 8, then builds a private 32-byte request with pin flag bit 0 set and submits NtDxgkPinResources. It does
* not copy the request back to Resources. Kernel validation and resource lifetime remain separate contracts.
*/
NTSYSAPI
NTSTATUS
NTAPI
D3DKMTPinDirectFlipResources(
_In_ const D3DKMT_PINDIRECTFLIPRESOURCES *Resources
);
View code on GitHubNo description available.