Skip to content

Commit 6f5a690

Browse files
committed
replaced DWORD with uint32_t
1 parent b50a10a commit 6f5a690

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,15 @@ class Example : public def::GameEngine
5050
else
5151
return false;
5252

53-
std::vector<std::wstring> devices = mwcc::EnumerateDevices();
53+
std::list<std::wstring> devices = mwcc::EnumerateDevices();
5454
mwcc::SetBuffer(buffer);
5555

5656
#elif defined(_WIN32)
5757

5858
if (!capturer.Init(0, width, height, 30))
5959
return false;
6060

61-
std::vector<std::wstring> devices = wwcc::Capturer::EnumerateDevices();
61+
std::list<std::wstring> devices = wwcc::Capturer::EnumerateDevices();
6262
capturer.SetBuffer(buffer);
6363

6464
#endif

include/wwccapi.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ namespace wwcc
222222
return true;
223223
}
224224

225-
bool Capturer::CreateDevice(const DWORD nDeviceID)
225+
bool Capturer::CreateDevice(const uint32_t nDeviceID)
226226
{
227227
IMFAttributes* pConfig = nullptr;
228228
IMFActivate** ppDevices = nullptr;

0 commit comments

Comments
 (0)