MarkTsai Windows 學習

此Blog是為了個人學習Windows 過程中,所做的資料收集,大部份內容為轉載或剪貼得來,倘若您認為「本網站」內容、圖案、超連結等侵害他人之著作權或不願意被連結,請留言通知站長,站長看到留言後會立即移除。

2011年4月14日 星期四

Kinect SDK for Windows

微軟公布Kinect SDK for Windows 細節







With this SDK, you’ll be able to take advantage of:

1.The latest advances in audio processing, which include a four-element microphone array with sophisticated acoustic noise and echo cancellation for crystal clear audio.

2.Sound source localization for beamforming, which enables the determination of a sound spatial location, enhancing reliability when integrated with the Microsoft speech recognition API.

3.Depth data, which provides the distance of an object from the Kinect camera, as well as the raw audio and image data, which together open up opportunities for creating richer natural user interface experiences.

4.Highly performant and robust skeletal tracking capabilities for determining the body positions of one or two persons moving within the Kinect field of view.

5.Documentation for the APIs and a description of the SDK architecture.

6.Sample code that demonstrates how to use the functionality in the SDK.

This SDK is intended for non-commercial use to enable experimentation in the world of natural user interface experiences, with new state-of-the-art features planned for future releases that will continue to provide new ways to experiment.

有了這個 SDK,你就可以利用:

1.最先進的音頻處理方式,包括一個四元麥克風陣列與複雜噪音和回音消除,如水晶般清晰的音頻。

2.聲源定位的波束形成,當與 Microsoft語音識別的API整合,它能夠更精確地確定空間位置,提高可靠性。

3.深度數據,它提供了一個物體的距離從 Kinect相機,以及音頻和圖像的原始數據,這些數據的機會,共同開拓創造更豐富自然的用戶界面體驗。

4.高性能的跟踪功能和強大的骨骼確定身體位置的移動一個或兩個人在Kinect視野。

5.文檔說明的API和SDK的架構。

6.示例代碼,演示如何使用SDK中的功能。

這個 SDK是用於非商業用途,使實驗在世界上自然的用戶界面體驗,新的先進設備,具有先進功能的未來版本計劃,將繼續提供新的方法進行試驗。

2010年12月17日 星期五

Windows PE 開機流程


Windows PE 的開機流程與一般的 Windows 很接近,若能瞭解開機流程,對自訂 Windows PE 會有相當幫助;以下簡述 Windows PE 開機流程:

  1. 電腦的 BIOS 載入特定媒體的開機磁區,並將控制權交給 Setupldr(一般的 Windows 是交給 ntldr)。

  2. Setupldr 載入並執行 Ntdetect.com,後者會擷取基本的系統設定資訊,並將這些資訊儲存在 HKLM\HARDWARE\DESCRIPTION。若以唯讀媒體開機,Windows PE 會將登錄資料庫的 Hive 存於記憶體,以便應用程式寫入。

  3. 接著 Setupldr 會以 Winpeoem.sif 載入適當的硬體抽象層(HAL)、系統登錄保存檔以及必要的開機驅動程式。載入完成後即準備環境執行核心,也就是 Ntoskrnl.exe。

  4. 執行 Ntoskrnl.exe 並完成環境安裝之後,再將控制權交給「工作階段管理員」(Session Manager Subsystem,SMSS)。

  5. SMSS 會載入其餘的登錄資料庫,並設定 Win32 子系統(Win32k.sys)執行環境及其各個處理程序。SMSS 再載入 Winlogon 處理程序以建立使用者工作階段,然後啟動服務和其他不重要裝置的驅動程式及 LSASS(Local Security Authority Subsystem Service)。

  6. 接著 Windows PE 會執行 Winpeshl.exe,這個程式會執行「命令提示字元」(Cmd.exe)和 Startnet.cmd(這相當於 Windows PE 的 Autoexec.bat)。預設會以 factory –winpe 作為 Startnet.cmd 的參數,而這會根據以下順序執行 Winbom.ini 裡的區段:

    • [WinPE.Net]

    • [DiskConfig]

    • [OEMRunOnce]

    • [OEMRun]

    • [WinPE](除了 Restart 之外)

    • [UpdateSystem]

    • 位於 [WinPE] 的 Restart

  7. 執行完 Startnet.cmd 之後,系統會停在命令提示字元,Windows PE 的開機程序也告完成。

Startnet.cmd 的預設參數為 factory –winpe,您也可以新增其他參數來自訂 Windows PE 開機程序。若要結束 Windows PE,只要在命令提示字元執行 exit 命令即可。

2010年12月16日 星期四

iPad/iPhone fast charge driver on Windows system (GIGABYTE)

Gigabyte ON/OFF Charge

Gigabyte自今年4月率先提供iPad/iPhone Windows System 快速充電Driver以來,知名度始終沒有ASUS後來才發表的Ai Charger來的好,追究原因就是ON/OFF Charge當初限制只能在Gigabyte產品上執行,這使得普及率沒Ai Charger好, 這讓我有些沮喪......

閒暇之餘,經過老闆的同意,將Gigabyte ON/OFF Charge 的 iPad/iPhone快速充電Driver重新修改編譯,解除先前只能在Gigabyte MB及NB上執行的限制,並公開開放讓所有User及系統使用,歡迎大家下載使用及指教......


功能說明:
提供iPad/iPhone 在MB/NB上快速充電的解決方案,不鎖板子及系統
支援目前所有MS Windows System 32/64位元 (Win7/Vista/xp/2003/2008 )
支援進入S3/S4/S5狀態下,持續充電的功能.



2010年2月25日 星期四

WatchDog ICH TCO

使用 watchdog 构建高可用性的 Linux 系统及应用
http://www.ibm.com/developerworks/cn/linux/l-cn-watchdog/index.html

Using the Intelо ICH Family Watchdog Timer (WDT) Application Note ...
http://download.intel.com/design/chipsets/applnots/29227301.pdf

Linux Headquarters - Kernel v2.6.32-git15 /drivers/watchdog/iTCO_wdt.c

Direct3D Hook

AHK : AutoHotKey




Hooking directX / graphics overlay for game
http://www.autohotkey.com/forum/topic7198-30.html


http://nexe.gamedev.net/files/Direct3D-Hook-2005-11-23.zip


http://www.gamedev.net/community/forums/topic.asp?topic_id=359794



http://www.codeguru.com/cpp/g-m/directx/directx8/article.php/c11453/#more


Home » Community » Forums » DirectX and XNA » [C++] Direct3D hooking sample
http://www.gamedev.net/community/forums/topic.asp?topic_id=359794



游戏培训|游戏制作|游戏设计|游戏教程关于鼠标右键弹不出问题的解决 ...
http://bbs.game798.com/archiver/showtopic-2010.html
在全屏模式下,DirectDraw独占了显示,这导致通过GDI创建的对话框或其它窗口无法正常显示

2009年12月21日 星期一

iCharger Project

CodeProject: CNTService v1.06 - NT Service Framework. Free source ...
CodeProject: Launch your application in Vista under the local ...

Service and Tray icon in Vista

http://social.msdn.microsoft.com/Forums/en-US/windowsgeneraldevelopmentissues/thread/b44124ea-0185-4fd6-b5c1-5f737b5f5982

I have a service which starts on bootup of my system and displays a tray icon in my toolbar. This works fine on XP but not on Vista. I am aware of the Session 0 Isolation and I believe this is the reason I cannot see the tray icon (service runs in session 0 and I am running session 1). The documentation that a way around this is to start another process from the service using CreateProcessAsUser.


CodeProject: Launch your application in Vista under the local ...
LaunchAppIntoDifferentSession()

追蹤者