Free Advertising Forums | Free Advertising Board | Post Free Ads Forum | Free Advertising Forums Directory | Best Free Advertising Methods | Advertising Forums

Free Advertising Forums | Free Advertising Board | Post Free Ads Forum | Free Advertising Forums Directory | Best Free Advertising Methods | Advertising Forums (http://www.freeadvertisingzone.com/index.php)
-   Online Classifieds Directory (http://www.freeadvertisingzone.com/forumdisplay.php?f=58)
-   -   修正注册表后不重启盘算机边生效(转) (http://www.freeadvertisingzone.com/showthread.php?t=1114129)

04-26-2011 10:52 PM

修正注册表后不重启盘算机边生效(转)
 
修改注册表后不重启计算机边生效(转) ,nike air max 1
修改注册表后不重启盘算机边生效。
const int WM_SETTINGCHANGE = 0x001A;
const int HWND_BROADCAST = 0xffff;
IntPtr result1;
public enum SendMessageTimeoutFlags : uint
{
SMTO_NORMAL = 0x0000,
SMTO_BLOCK = 0x0001,
SMTO_ABORTIFHUNG = 0x0002,
SMTO_NOTIMEOUTIFNOTHUNG = 0x0008
}
[DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]
public static extern IntPtr SendMessageTimeout(
IntPtr windowHandle,
uint Msg,
IntPtr wParam,ghd flatiron,
IntPtr lParam,dolce & gabbana frames,
SendMessageTimeoutFlags flags,
uint timeout,
out IntPtr result
);
public void ChangeReg()
{
//告诉所有翻开的程序注册表以修正
SendMessageTimeout(new IntPtr(HWND_BROADCAST),paul smith wallet, WM_SETTINGCHANGE, IntPtr.Zero, IntPtr.Zero, SendMessageTimeoutFlags.SMTO_NORMAL,jimmy choo high heels, 1000, out result1);
}


All times are GMT. The time now is 12:55 PM.

Powered by vBulletin Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Free Advertising Forums | Free Advertising Message Boards | Post Free Ads Forum