G
Guest
how do i get the My Computer icon using SHGetFileInfo?
i've tried this:
SHGetFileInfo("", FILE_ATTRIBUTE_NORMAL, shinfo, Marshal.SizeOf(shinfo),
SHGFI_ICON + SHGFI_SMALLICON + SHGFI_DISPLAYNAME)
but it doesn't work.
i'm not sure what the filename for My Computer should be?
i've tried this:
SHGetFileInfo("", FILE_ATTRIBUTE_NORMAL, shinfo, Marshal.SizeOf(shinfo),
SHGFI_ICON + SHGFI_SMALLICON + SHGFI_DISPLAYNAME)
but it doesn't work.
i'm not sure what the filename for My Computer should be?