顯示具有 windows 標籤的文章。 顯示所有文章
顯示具有 windows 標籤的文章。 顯示所有文章

2008年6月26日 星期四

Interoperating with Windows Media Player using P/Invoke and C#

In codeproject.com, there is an article is interesting.

Interoperating with Windows Media Player using P/Invoke and C#

quote from the article:
:
:
:

This article hopes to demonstrate:

  • How to use P/Invoke to call unmanaged code.
  • How to use Spy++ to log Windows messages and get wParam and lParam values.
  • How to implement FindWindow() and SendMessage() in C#.
  • How to Interoperate with Windows Media Player.
:
:
:

2008年1月4日 星期五

bios/disk information in windows

dmidecode 可以取得一些 bios 的 information, 但似乎並不是每一個系統的 相關資訊都有填入.

Retriving Hard Disk Serial Number Using VB 6.0 - 使用 DeviceIoControl() 取得 IDE 的 harddisk serial number etc.

sdparm 也有 windows 版, 但取不到 serial number.

有討論到如何透過 java 取得 CPUID, 最後 reference 到一個 i2p 的軟體. (jcpuid)

有討論到一些概念, 用 freepascal 寫的.

code project 的 get Physical HDD serial number with no WMI 有引用到 diskid32.dll.

DiskId32 A Win32 Application and Source Code for Reading Hard Drive Manufacturing Information. 根據網頁說明, 應該有人讀到 scsi/sata device 的 disk id.
這個網頁有相關 reference