“Win32 API” टैग वाले लेख
“Win32 API” टैग वाले 8 लेख, नवीनतम से पुराने क्रम में।
-
Win32 Thread Pool API — CreateThreadpoolWork से thread बनाए बिना concurrency
क्या आपके native code में CreateThread calls बिखरी पड़ी हैं? यह लेख Vista में redesign की गई Win32 thread pool API — work, timer, wait और io चार objects, cle...
-
Named Pipes व्यवहार में — design से security तक, Windows की standard IPC
Named pipes — Windows की standard inter-process communication — की practical guide। यह लेख primary sources से byte और message mode का चुनाव, कई clients सँभाल...
-
Sleep से resume पर टूटने वाले apps — Windows power events कैसे काम करते हैं और उनसे बचने वाले business apps कैसे बनाएँ
Laptop खोला और business app के connections मर चुके थे — कारण वह design है जिसने sleep का हिसाब ही नहीं रखा। यह लेख WM_POWERBROADCAST notification flow, Moder...
-
DllMain और Loader Lock — DLL initialization में "कुछ मत करो" कहा जाने का असली कारण
DllMain से LoadLibrary क्यों न call करें और दूसरे thread से synchronize न करें। Primary sources से यह लेख बताता है कि loader lock हर DLL notification को कैसे...
-
"Not Responding" वास्तव में क्या है — Windows ऐप के hang का फैसला कैसे करता है, और hang न करने वाले ऐप कैसे design करें
Windows का "Not Responding" वह mechanism है जिसमें OS तय करता है कि window ने 5 सेकंड message नहीं लिया और उसे ghost window से बदल देता है। यह लेख उस decisio...
-
Spurious wakeup — condition variable "बिना notification के" क्यों जागती है और Windows पर सही wait कैसे करें
Condition variable की wait notification आए बिना भी लौट सकती है (spurious wakeup)। यह लेख Windows implementation से समझाता है कि spec इसे क्यों अनुमति देता है...
-
Windows error codes पढ़ना — Win32, HRESULT और NTSTATUS की तीन-layer structure
जब 0x80004005 आए, search से पहले उसे decompose करें। लेख Win32, HRESULT और NTSTATUS की तीन layers, पैटर्न 0x8007xxxx, तथा err.exe और PowerShell से lookup समझ...
-
Practical multithreading best practices: C संस्करण — Win32 API तरीके से सुरक्षित लिखना
Win32 के साथ C में multithreading का स्थापित तरीका _beginthreadex से thread बनाना, SRW lock और condition variable, Interlocked functions, और stop event प्लस ...