WinStationSetRenderHint - NtDoc

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

// rev
/**
 * Used by an application that is displaying content that can be optimized for displaying in a remote session to identify the region of a window that is the actual content.
 * In the remote session, this content will be encoded, sent to the client, then decoded and displayed.
 *
 * \param[out] RenderHintID The address of a value that identifies the rendering hint affected by this call.
 * If a new hint is being created, this value must contain zero.
 * This function will return a unique rendering hint identifier which is used for subsequent calls, such as clearing the hint.
 * \param[in] WindowHandle The handle of window linked to lifetime of the rendering hint. This window is used in situations where a hint target is removed without the hint being explicitly cleared.
 * \param[in] RenderHintType Specifies the type of hint represented by this call.
 * \param[in] HintDataLength The size in bytes, of the HintData buffer.
 * \param[in] HintData Additional data for the hint. The format of this data is dependent upon the value passed in the renderHintType parameter.
 * \return BOOLEAN Nonzero if the function succeeds, or zero otherwise.
 * \sa https://learn.microsoft.com/en-us/windows/win32/api/wtshintapi/nf-wtshintapi-wtssetrenderhint
 */
NTSYSAPI
BOOLEAN
NTAPI
WinStationSetRenderHint(
    _In_opt_ PULONG64 RenderHintID,
    _In_ HWND WindowHandle,
    _In_ ULONG RenderHintType,
    _In_ ULONG HintDataLength,
    _In_ PBYTE HintData
    );

#endif

View code on GitHub

NtDoc

No description available.