Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
The Win32 API is the core set of application programming interfaces (APIs) available in the Microsoft Windows operating systems. This tag is for questions about developing native Windows applications using the Win32 API.
3
votes
1
answer
169
views
Wrapping WinAPI FindNextVolume as std iterator
This is my first attempt at creating an STL-style iterator. Is this code ok?
std::set<std::wstring> getVolumeNames()
{
class FindVolumeWrapper : public std::iterator<std::input_iterator_tag, std: …
3
votes
1
answer
2k
views
Handling GetTickCount() overflow in timeouts
This is code which must run on XP, so no GetTickCount64, and which should correctly handle the value wrapping around after 49 days. Can it be improved?
// DWORD timeoutMs is a given parameter.
DWORD …