Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
Tags
- 영화
- JavaScript
- range
- Close
- windows
- http
- FOR
- write
- Golang
- json
- c++
- API
- 리뷰
- Sync
- Linux
- C
- GO 언어
- package
- File
- go언어
- window
- channel
- install
- Callback
- tcp
- 책
- bitcoin
- mutex
- Python
- go
Archives
- Today
- Total
목록display (1)
Code Habit

GetMonitorInfo를 사용하여 모니터 Display 정보를 구할 수 있다. BOOL GetMonitorInfoA( [in] HMONITOR hMonitor, [out] LPMONITORINFO lpmi ); hMonitor에 구하고자 하는 모니터 핸들을 넘기면 해당 모니터의 Display 정보를 MONITORINFO(structure)로 전달 받는다. 이때 MONITORINFO의 멤버변수 중 cbSize를 sizeof(MONITORINFO) (or sizeof(MONITORINFOEX)로 초기화하고 전달해야 한다. typedef struct tagMONITORINFO { DWORD cbSize; RECT rcMonitor; RECT rcWork; DWORD dwFlags; } MONITORINFO..
카테고리 없음
2022. 10. 8. 11:20