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.
1
vote
Get module entry by name from external program via WinAPI
more simply api, way not exist.
1.) wrong return type - MODULEENTRY32. really impossible return structure, which not fit generic register size. when compiler view T fn(..) { * } it silently change th …
1
vote
Send command and get response from Windows CMD prompt silently - follow-up
OnIoComplete(ULONG dwErrorCode, ULONG_PTR dwNumberOfBytesTransfered)
{
_pIoObject->OnIoComplete(_code, dwErrorCode, dwNumberOfBytesTransfered, _pv);
delete this;
}
static VOID WINAPI …
3
votes
HTTP download with dynamic reallocation and retries
at first StartDownload use recursion, when it absolute not need here. enough simply loop like -
ULONG nTry = 4, dwError;
do {
dwError = Download();
} while(dwError && --Try);
next - you not ne …
1
vote
C++ upgradable RW lock implementation
first of all and main - implementation simply incorrect.
let some thread call lock_shared() and suspended before m_readers++; line. than another thread also call lock_shared() and than lock_upgrade() …