winrt::file_handle struct (C++/WinRT)

Represents a Windows file handle object. winrt::file_handle is a type alias for winrt::handle_type<winrt::file_handle_traits>, so see the winrt::handle_type struct template topic to learn about the functions and operators that are available to winrt::file_handle.


struct file_handle_traits {};

using file_handle = handle_type<file_handle_traits>;


Minimum supported SDK: Windows SDK version 10.0.17134.0 (Windows 10, version 1803)

Namespace: winrt

Header: %WindowsSdkDir%Include<WindowsTargetPlatformVersion>\cppwinrt\winrt\base.h (included by default)

See also