--- title: "No luck getting D3DKMTGetScanLine() to work thus far." type: archive source: twitter source_url: "https://x.com/NOTimothyLottes/status/1739759522401374467" author: "NOTimothyLottes" handle: NOTimothyLottes post_id: "1739759522401374467" date: 2023-12-26 archived: 2026-08-26 draft: false tags: - archive - twitter - NOTimothyLottes description: "No luck getting D3DKMTGetScanLine() to work thus far." in_reply_to: "" --- ## Source - URL: https://x.com/NOTimothyLottes/status/1739759522401374467 - Author: NOTimothyLottes (@NOTimothyLottes) - Posted: 2023-12-26 21:26:07 ## Thread **1/** **@NOTimothyLottes** ^1739759522401374467 No luck getting D3DKMTGetScanLine() to work thus far. Always get STATUS_INVALID_PARAMETER using {hAdapter, VidPnSourceId} from D3DKMTOpenAdapterFromHdc() with hDC from either {EnumDisplayDevicesA() DISPLAY_DEVICE_PRIMARY_DEVICE or GetDC(window)}. Curious if this works for others Branches: [[archive/threads/NOTimothyLottes/2023-12-26-no-luck-getting-d3dkmtgetscanline-to-work-thus-far/2023-12-26-misyltoad-you-could-maybe-use-a-d3d9-swapchain-to-query]]