1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
\r
4 <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
\r
5 <meta http-equiv="Content-Style-Type" content="text/css">
\r
6 <meta name="keywords" content="Simple Directmedia Layer SDL2.0">
\r
7 <link rel="top" href="index.html" title="
\83z
\81[
\83\80">
\r
8 <link rel="parent" href="CategoryVideo.html" title="1
\82Â
\8fã">
\r
9 <title>SDL_GetDesktopDisplayMode</title>
\r
12 <a href="index.html">
\96Ú
\8e\9f</a> - <a href="ApiByCategory.html">API(
\8b@
\94\
\95Ê)</a> - <a href="CategoryVideo.html">
\83f
\83B
\83X
\83v
\83\8c\83C
\82Æ
\83E
\83B
\83\93\83h
\83E</a> - SDL_GetDesktopDisplayMode
\r
14 <h1>SDL_GetDesktopDisplayMode</h1>
\r
15 \83f
\83X
\83N
\83g
\83b
\83v
\82Ì
\83f
\83B
\83X
\83v
\83\8c\83C
\83\82\81[
\83h
\82ð
\93¾
\82é
\r
17 <code>int SDL_GetDesktopDisplayMode(int displayIndex, SDL_DisplayMode* mode)
\r
20 <table border="1" summary="SDL_GetDesktopDisplayMode">
\r
21 <tr><td>displayIndex</td><td>
\92²
\8d¸
\82·
\82é
\83f
\83B
\83X
\83v
\83\8c\83C
\82Ì
\94Ô
\8d\86</td></tr>
\r
22 <tr><td>mode</td><td>
\8c»
\8dÝ
\82Ì
\83f
\83B
\83X
\83v
\83\8c\83C
\83\82\81[
\83h
\82ð
\91ã
\93ü
\82·
\82é<a href="SDL_DisplayMode.html">SDL_DisplayMode</a>
\82Ì
\83|
\83C
\83\93\83^</td></tr>
\r
24 <h2>
\96ß
\82è
\92l</h2>
\r
25 \90¬
\8c÷
\82Ì
\82Æ
\82«0,
\8e¸
\94s
\82Ì
\82Æ
\82«
\95\89\82Ì
\90\94\82Ì
\83G
\83\89\81[
\83R
\81[
\83h
\82ð
\96ß
\82·.
\r
26 <a href="SDL_GetError.html">SDL_GetError()</a>
\82ð
\8cÄ
\82ñ
\82Å
\8fÚ
\8d×
\82ð
\92m
\82é
\82±
\82Æ
\82ª
\82Å
\82«
\82é.
\r
27 <h2>
\83T
\83\93\83v
\83\8b\83R
\81[
\83h</h2>
\r
32 if (SDL_GetDesktopDisplayMode(0, &dm) != 0) {
\r
33 SDL_Log("SDL_GetDesktopDisplayMode
\8e¸
\94s: %s", SDL_GetError());
\r
40 \82±
\82Ì
\8aÖ
\90\94\82Æ<a href="SDL_GetCurrentDisplayMode.html">SDL_GetCurrentDisplayMode()</a>
\82Í, SDL
\82ª
\83t
\83\8b\83X
\83N
\83\8a\81[
\83\93\82Å,
\82©
\82Â
\89ð
\91\9c\93x
\82ð
\95Ï
\82¦
\82½
\82Æ
\82«
\88Ù
\82È
\82é.
\r
41 \82»
\82Ì
\8fê
\8d\87,
\82±
\82Ì
\8aÖ
\90\94\82Í
\8c»
\8dÝ
\82Ì
\83f
\83B
\83X
\83v
\83\8c\83C
\83\82\81[
\83h
\82Å
\82Í
\82È
\82,
\95Ï
\8dX
\91O
\82Ì
\83f
\83B
\83X
\83v
\83\8c\83C
\83\82\81[
\83h
\82ð
\96ß
\82·.
\r
42 <h2>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h2>
\r
43 <a href="SDL_GetCurrentDisplayMode.html">SDL_GetCurrentDisplayMode</a><br>
\r
44 <a href="SDL_GetDisplayMode.html">SDL_GetDisplayMode</a><br>
\r
45 <a href="SDL_SetWindowDisplayMode.html">SDL_SetWindowDisplayMode</a><br>
\r
46 <h2>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h2>
\r
47 <a href="https://wiki.libsdl.org/SDL_GetDesktopDisplayMode">SDL_GetDesktopDisplayMode - SDL Wiki</a>
\r