Suggested modifications to Memory_Windows.CPP

Tim_Fettig at Dell.com Tim_Fettig at Dell.com
Thu Aug 31 09:18:02 CDT 2006


Michael and libSmbios developers,
	
	Please find attached a copy of the Memory_Windows.cpp file that
is used within the libsmbios library to access the SMBIOS structure. My
testing has found that when using the Windows 2003 SP1 newer API's to
access the SMBIOS structure that the two API's can not be used for every
task involved in returning the structure. The attached file has been
modified to select between enumSystemFirmwareTables() and
GetSystemFirmwareTable() based on the size of the object being
requested.

This code modifcation only applies when running on Windows 2003 SP1 or
Windows XP x64 versions of OS. It has no effect on any other supported
version of Windows.


Tim Fettig
Authorized Dell Representative <<Memory_Windows.cpp>> 
IT Guide Limited
Technology Architect

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.us.dell.com/pipermail/libsmbios-devel/attachments/20060831/c4edd71b/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Memory_Windows.cpp
Type: application/octet-stream
Size: 17544 bytes
Desc: Memory_Windows.cpp
Url : http://lists.us.dell.com/pipermail/libsmbios-devel/attachments/20060831/c4edd71b/attachment.obj 


More information about the libsmbios-devel mailing list