Your best source of information and news about BIOS, windows and BIOS on the internet

Vista ARTICLES TOP 50 Spyware Virus Vista SOFT Vista HELP

Code

You are currently browsing the articles from MS Windows Vista Compatible Software matching the category Code.

VirtualLock only locks your memory into the working set

When you lock memory with VirtualLock it locks the
memory into your process’s working set .
It doesn’t mean that the memory will never be paged out.
It just means that the memory won’t be paged out as long as there is a thread executing in your process Read More……(read more)

Written by The Old New Thing : Code on November 6th, 2007 with no comments.
Read more articles on Code.

Why do we even have the DefWindowProc function?

Some time ago, I looked at two ways of reimplementing
the dialog procedure
( method 1 , method 2 ).
Commenter “8″ wondered why we have a DefWindowProc function at all .
Couldn’t window procedures have followed the dialog box model,
where they simply return Read More……(read more)

Written by The Old New Thing : Code on November 5th, 2007 with no comments.
Read more articles on Code.

Why does GetDiskFreeSpaceEx return the wrong amount of free space?

One customer discovered that viewing the properties of a drive
from Explorer shows the amount of disk free space
significantly lower than the actual amount of
free disk space as resported by the disk management snap-in.
The command prompt agrees with Read More……(read more)

Written by The Old New Thing : Code on November 1st, 2007 with no comments.
Read more articles on Code.

If you pass enough random numbers, eventually one of them will look valid

One customer traced a problem they were having to the way they
were calling a function similar in spirit to this one: HGLOBAL CopyClipboardData(UINT cf)
{ HGLOBAL hglob = NULL; HANDLE h = GetClipboardData(cf); if (h) { void *p = GlobalLock(h); if (p) Read More……(read more)

Written by The Old New Thing : Code on October 26th, 2007 with no comments.
Read more articles on Code.

Ubuntu Feisty Fawn for Speed

If you use Ubuntu (Feisty Fawn) as your Linux distribution, which everyone knows it’s a pretty fast Linux operating system, you can also do some tricks in order to get a boost. I will teach you today some quick hacks on how to improve the overall performance of your system.

WARNING: Please follow the instructions below very carefully, in the order in which they are listed below and reboot your machine after each one. If not, your operating system will NOT work anymore. (more…)

, , , , , , , , , , , , , ,

Written by Jason on October 24th, 2007 with no comments.
Read more articles on filesystem and Feisty Fawn and improvements and linux distribution and ubuntu feisty fawn and linux operating system and computer boots and boot the system and Ubuntu and Linux and reboot and tweaking and hacks and tweaks and Code.

What’s the difference between LVM_HITTEST and LVM_INSERTMARKHITTEST?

One customer was confused by the two list view hit-test messages LVM_HITTEST and LVM_INSERTMARKHITTEST .
What is the difference between the two? The LVM_HITTEST message tries to find the item the
point is over . The LVM_INSERTMARKHITTEST message tries Read More……(read more)

Written by The Old New Thing : Code on October 24th, 2007 with no comments.
Read more articles on Code.

« Older articles

Newer articles »