diff options
author | David Robillard <d@drobilla.net> | 2022-04-21 17:53:38 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-04-21 17:53:38 -0400 |
commit | a16cd4b851d30a8b9389de6085b391e77f0a349e (patch) | |
tree | c2a078cb12a7b1206d8b3b1466ef05e93580c71f /src/win.h | |
parent | 64e784e77b45cdbcd4ce17187c9fa4259b0ddefb (diff) | |
download | pugl-a16cd4b851d30a8b9389de6085b391e77f0a349e.tar.gz pugl-a16cd4b851d30a8b9389de6085b391e77f0a349e.tar.bz2 pugl-a16cd4b851d30a8b9389de6085b391e77f0a349e.zip |
Improve error handling
Diffstat (limited to 'src/win.h')
-rw-r--r-- | src/win.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,4 @@ -// Copyright 2012-2021 David Robillard <d@drobilla.net> +// Copyright 2012-2022 David Robillard <d@drobilla.net> // SPDX-License-Identifier: ISC #ifndef PUGL_SRC_WIN_H @@ -33,6 +33,7 @@ PUGL_API PuglWinPFD puglWinGetPixelFormatDescriptor(const PuglHints hints); +PUGL_WARN_UNUSED_RESULT PUGL_API PuglStatus puglWinCreateWindow(PuglView* const view, @@ -40,14 +41,17 @@ puglWinCreateWindow(PuglView* const view, HWND* const hwnd, HDC* const hdc); +PUGL_WARN_UNUSED_RESULT PUGL_API PuglStatus puglWinConfigure(PuglView* view); +PUGL_WARN_UNUSED_RESULT PUGL_API PuglStatus puglWinEnter(PuglView* view, const PuglExposeEvent* expose); +PUGL_WARN_UNUSED_RESULT PUGL_API PuglStatus puglWinLeave(PuglView* view, const PuglExposeEvent* expose); |