Dll Importkernel 32 dll public static extern int
[Dll. Import("kernel 32. dll")] public static extern int Register. Application. Restart([Marshal. As(Unmanaged. Type. BStr)] string command. Line. Args, int flags); private void Register. Application. For. Restart() { WERARRNative. Methods. Register. Application. Restart(recovery. File. Name, 0); }
"Quick. Tweets. txt"; new int "restart",
共有 http: //wer. codeplex. com http: //blogs. msdn. com/wer/archive/2010/05/14/winqual -web-services-with-windows-powershell. aspx
http: //winqual. microsoft. com http: //wer. codeplex. com
winqual. microsoft. com
http: //blogs. msdn. com/wer http: //wer. codeplex. com http: //code. msdn. microsoft. com/Windows. APICode. Pack http: //www. microsoft. com/japan/whdc/devtools/debugging/default. mspx https: //winqual. microsoft. com http: //www. microsoft. com/downloads/details. aspx? familyid=a 71 ac 896 -1 d 28 -45 a 4 -880 c 8 b 0 cc 8265 c 63&displaylang=en http: //blogs. msdn. com/wer/archive/2009/08/12/the-three-cs-of-response-satisfaction. aspx
- Slides: 27