D3DKMTNetDispStartMiracastDisplayDevice2 - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTD3DKMT_H

// rev
// DeviceName is copied into a 260-WCHAR field; Flags is passed through unchanged.
// Returns a private 32-bit Miracast result code, not a documented NTSTATUS.
/**
 * Builds a Miracast start request and submits it to Win32u. The request size is 552 bytes on x64 and 548 bytes on
 * x86. A readable NUL-terminated DeviceName of 261 or more WCHARs, excluding NUL, is rejected locally with
 * 0x80000008 before the native request. Shorter strings reach a 260-WCHAR destination copy; this is not a promise
 * that all shorter strings are valid device names. Flags and EventHandle are forwarded. Successful dispatch can
 * change display state.
 */
NTSYSAPI
LONG
NTAPI
D3DKMTNetDispStartMiracastDisplayDevice2(
    _In_ PCWSTR DeviceName,
    _In_ ULONG Flags,
    _In_opt_ HANDLE EventHandle
    );

#endif

View code on GitHub

NtDoc

No description available.