aboutsummaryrefslogtreecommitdiffstats
path: root/src/win.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-04-21 17:53:38 -0400
committerDavid Robillard <d@drobilla.net>2022-04-21 17:53:38 -0400
commita16cd4b851d30a8b9389de6085b391e77f0a349e (patch)
treec2a078cb12a7b1206d8b3b1466ef05e93580c71f /src/win.h
parent64e784e77b45cdbcd4ce17187c9fa4259b0ddefb (diff)
downloadpugl-a16cd4b851d30a8b9389de6085b391e77f0a349e.tar.gz
pugl-a16cd4b851d30a8b9389de6085b391e77f0a349e.tar.bz2
pugl-a16cd4b851d30a8b9389de6085b391e77f0a349e.zip
Improve error handling
Diffstat (limited to 'src/win.h')
-rw-r--r--src/win.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/win.h b/src/win.h
index 130eabf..3f879c2 100644
--- a/src/win.h
+++ b/src/win.h
@@ -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);