Windows SDK Support Team Blog
#define _WIN32_WINNT
Why is WlanGetProfile API returning encrypted keyMaterial with XML profile on Windows XP SP3?
Question: We are trying to use some of the new WLAN APIs to get wireless network and password...
Author: Prateek Kr Dubey Date: 11/04/2009
Why does regedit.exe (or any other Microsoft program) crash when I try to create a remote thread into it using the CreateRemoteThread() API?
Question: On Windows XP, I am starting regedit.exe in suspended mode and forcing it to call the...
Author: Prateek Kr Dubey Date: 11/04/2009
Why does the TCP three way handshake never tag with DSCP value on Windows XP and Server 2003?
Question: We are trying to introduce QoS into our VOIP services. While working on this we have...
Author: Prateek Kr Dubey Date: 11/04/2009
What is the recommended way to set the resolution of a webcam using DirectShow?
Question: Why does my DirectShow based video capture application fail to set resolution for the...
Author: Prateek Kr Dubey Date: 11/04/2009
Why does the NdrClientCall2() API call takes more then 4-5 milliseconds to complete?
Question: Why does the NdrClientCall2() API call takes more then 4-5 milliseconds to complete in my...
Author: Prateek Kr Dubey Date: 11/04/2009
How to check SLP 1.0 values from the BIOS using Win32 API?
Question: Is there any API available to check SLP 1.0 values from the BIOS? Answer: Yes, you...
Author: Prateek Kr Dubey Date: 11/04/2009
You may get a crash in Windows Media Player if you register and select a plug-in implemented in a multi-threading context and if you have not marshalled the pointers correctly.
Two points to remember before you write your Windows Media Player plug-in using the WMP public...
Author: Prateek Kr Dubey Date: 10/20/2009
Get the MAC address of a machine/device whose IP Address is known
Sometime you may be in a situation to get the MAC address of a machine/device whose IP Address is...
Author: Prateek Kr Dubey Date: 10/09/2009
Enable or Disable “Enable write caching on disk” behavior on disk
Couple of times I got a question to <Enable or Disable “Enable write caching on disk” behavior on...
Author: Prateek Kr Dubey Date: 10/09/2009
Check membership of a group from user’s process access token
Question may be, I need to check If the user belong to a particular group or not? There are NetUser*...
Author: Prateek Kr Dubey Date: 10/08/2009
Where is my WM_DEVICECHANGE in Windows Vista?
An application can register for device change notifications using RegisterDeviceNotification...
Author: Prateek Kr Dubey Date: 09/22/2009
.NET CLR performance counters: 64 bit managed application .NTE CLR performance data is not available for 32 bit application.
Recently I came across a problem 32 bit application querying the .NET CLR Memory “Gen 1 heap size”...
Author: Prateek Kr Dubey Date: 08/14/2009
Expecting IGMPv3 packets to go out of the machine, but IGMPv2 packets are going out, What is the problem?
Possible Scenario: On Windows XP or Windows Server 2003 by default IGMPv3 is enabled. When you send...
Author: Prateek Kr Dubey Date: 07/27/2009
How to Enable/Disable IPV6 Programmatically in Windows Vista?
Why do you want to disable IPV6? Before you want to disable IPV6, you need to carefully think and...
Author: Prateek Kr Dubey Date: 07/17/2009
SetWindowHookEx API with WH_JOURNALRECORD. This API fails with access denied (Error 5).
A while ago I came across a problem in which SetWindowHookEx API with WH_JOURNALRECORD was failing...
Author: Prateek Kr Dubey Date: 07/16/2009
RDC and Custom Credential Providers
RDC and Custom Credential Providers Issue: When you have your own custom credential provider (CP)...
Author: Prateek Kr Dubey Date: 07/14/2009
Launching an interactive process from Windows Service in Windows Vista and later
The first thing you should do about it is that, don't do it. There are many limitations, bad...
Author: Prateek Kr Dubey Date: 07/14/2009
Mapped drives can't be created after Microsoft Security Update from code running under Network Service account
Mapped drives can't be created after Microsoft Security Update from code running under Network...
Author: Prateek Kr Dubey Date: 07/14/2009
File.Exists /_access / GetFileAttributes / FindFirstFile,FindNextFile / _stat behavior over SMB 2.0
File.Exists /_access / GetFileAttributes / FindFirstFile,FindNextFile / _stat behavior over SMB 2.0...
Author: Prateek Kr Dubey Date: 07/10/2009