HydraHook
Direct3D and Core Audio hooking library for Windows
Loading...
Searching...
No Matches
Window Class Reference

Minimal Win32 window for D3D device creation. More...

#include <Window.h>

Public Member Functions

 Window (std::string windowClassName)
 Creates a hidden window with the given class name.
HWND windowHandle () const
 Returns the window handle.
 ~Window ()
 Destroys the window and unregisters the class.

Detailed Description

Minimal Win32 window for D3D device creation.

Definition at line 43 of file Window.h.

Constructor & Destructor Documentation

◆ Window()

Window::Window ( std::string windowClassName)

Creates a hidden window with the given class name.

Parameters
windowClassNameUnique window class name for registration.

Definition at line 31 of file Window.cpp.

References HydraHook::Core::Exceptions::GenericWinAPIException::GenericWinAPIException().

◆ ~Window()

Window::~Window ( )

Destroys the window and unregisters the class.

Definition at line 60 of file Window.cpp.

Member Function Documentation

◆ windowHandle()

HWND Window::windowHandle ( ) const

Returns the window handle.

Definition at line 72 of file Window.cpp.


The documentation for this class was generated from the following files: