Smart Device Functions:
Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than shell32, prefix the name with the module name and a period.
Even though the Win32 function signature declares the third parameter as UINT nIconIndex, in .NET it must be a signed integer. This is because UINT is actually an alias for the int data type. Also, ExtractIcon() accepts -1 (an invalid value for unsigned integers) as an icon index, which will return the total number of icons in the specified file.
Tips & Tricks:
Please add some!
C# Sample Code:
string fileName = "C:\\Test.txt";
VB.NET Sample Code:
Dim fileName As String = "C:\Test.txt"
Alternative Managed API:
The ExtractIcon API
8/30/2021 9:06:11 AM - 22.214.171.124
Please edit this page!
Do you have...