성태의 닷넷 이야기
홈 주인
모아 놓은 자료
프로그래밍
질문/답변
사용자 관리
사용자
메뉴
아티클
외부 아티클
유용한 코드
온라인 기능
MathJax 입력기
최근 덧글
[정성태] The Windows Registry Adventure #1: ...
[정성태] systemd for Developers I ; https:/...
[정성태] 엄밀히 object 타입의 인스턴스가 다른 타입으로 형변환 가능...
[정성태] 아래의 글에서 나오는 "Windows Application Pa...
[정성태] The history of calling conventions,...
[정성태] Secure and Deploy .NET Windows Form...
[정성태] Get Started with Milvus Vector DB i...
[정성태] cyberark/PipeViewer - A tool that...
[정성태] WinForms in a 64-Bit world – our st...
[정성태] 예제에서 SELECT_SQL도 내부적으로는 SqlCommand/...
글쓰기
제목
이름
암호
전자우편
HTML
홈페이지
유형
닷넷
.NET 3.0
.NET 3.5
.NET 4.0
COM 개체 관련
Win32
Vista
Windows 7
Windows 8
Windows 서버
데이터베이스
웹폼 코딩 규약
윈폼 코딩 규약
공통 코딩 규약
명령행
레지스트리
기타
부모글 보이기/감추기
내용
<div style='display: inline'> <h1 style='font-family: Malgun Gothic, Consolas; font-size: 20pt; color: #006699; text-align: center; font-weight: bold'>장치 관리자처럼 각 장치들에 할당된 리소스(예: Memory Range) 상태를 코드로 알아내는 방법</h1> <p> 예전에 어떤 분이 질문했던 것 같은데, 예를 들어 장치 관리자에서 다음과 같이 각 장치에 할당된 리소스들을 볼 수 있는데요,<br /> <br /> <img alt='hw_reserved_mem_1.png' src='/SysWebRes/bbs/hw_reserved_mem_1.png' /><br /> <br /> 이런 정보들을 자신의 프로그램에서 코드로 알아내고 싶다면 Win32 DLL인 Cfgmgr32.dll에서 제공하는 API들을 이용하면 됩니다.<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > cfgmgr32.h header ; <a target='tab' href='https://docs.microsoft.com/en-us/windows/win32/api/cfgmgr32/'>https://docs.microsoft.com/en-us/windows/win32/api/cfgmgr32/</a> </pre> <br /> 직접 해석하면서 만들지 마시고 ^^ 이미 다음과 같이 예제 프로그램의 소스 코드가 공개되어 있으니,<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > Enumerating windows device ; <a target='tab' href='https://www.codeproject.com/Articles/14412/Enumerating-windows-device'>https://www.codeproject.com/Articles/14412/Enumerating-windows-device</a> </pre> <br /> [그림 출처: <a target='tab' href='https://www.codeproject.com/Articles/14412/Enumerating-windows-device'>https://www.codeproject.com/Articles/14412/Enumerating-windows-device</a>]<br /> <img alt='hw_reserved_mem_2.jpg' src='/SysWebRes/bbs/hw_reserved_mem_2.jpg' /><br /> <br /> 참고하시면 되겠습니다.<br /> </p><br /> <br /><hr /><span style='color: Maroon'>[이 글에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]</span> </div>
첨부파일
스팸 방지용 인증 번호
1914
(왼쪽의 숫자를 입력해야 합니다.)