Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "ExtractIcon" in [All]

shell32

.

    static extern IntPtr ExtractIcon(IntPtr hInst, string lpszExeFileName, int nIconIndex);

.
Summary
.

static extern uint ExtractIconEx(string szFileName, int nIconIndex,

.

Shared Function ExtractIconEx(ByVal szFileName As String, _

.

Declare Function ExtractIconEx _

.

     Alias "ExtractIconExA" _

.

namespace Martin.Hyldahl.Examples.ExtractIconEx

.

     * Example using ExtractIconEx

.

    /// Example using ExtractIconEx

.

    public class ExtractIconExample

.

    static ExtractIconExample()

.

    private ExtractIconExample()

.

    private static unsafe extern int ExtractIconEx (

.

    public static Icon ExtractIconFromExe(string file, bool large)

.

            readIconCount = ExtractIconEx(file,0, hIconEx, hDummy, 1);

.

            readIconCount = ExtractIconEx(file,0, hDummy, hIconEx, 1);

.

    Function ExtractIconEx(ByVal szFileName As String, _

.

    Dim iconsrc As Icon = ExtractIconFromExe(iconsrcpath, True)

.

    Public Function ExtractIconFromExe(ByVal f As String, ByVal large As Boolean) As Icon

.

        readIconCount = ExtractIconEx(f, 0, hIconEx, hDummy, 1)

.

        readIconCount = ExtractIconEx(f, 0, hDummy, hIconEx, 1)

.
Documentation
[ExtractIconEx] on MSDN
.
Summary
.

static extern uint ExtractIconEx(string szFileName, int nIconIndex,

.

Shared Function ExtractIconEx(ByVal szFileName As String, _

.

Declare Function ExtractIconEx _

.

     Alias "ExtractIconExA" _

.

namespace Martin.Hyldahl.Examples.ExtractIconEx

.

     * Example using ExtractIconEx

.

    /// Example using ExtractIconEx

.

    public class ExtractIconExample

.

    static ExtractIconExample()

.

    private ExtractIconExample()

.

    private static unsafe extern int ExtractIconEx (

.

    public static Icon ExtractIconFromExe(string file, bool large)

.

            readIconCount = ExtractIconEx(file,0, hIconEx, hDummy, 1);

.

            readIconCount = ExtractIconEx(file,0, hDummy, hIconEx, 1);

.

    Function ExtractIconEx(ByVal szFileName As String, _

.

    Dim iconsrc As Icon = ExtractIconFromExe(iconsrcpath, True)

.

    Public Function ExtractIconFromExe(ByVal f As String, ByVal large As Boolean) As Icon

.

        readIconCount = ExtractIconEx(f, 0, hIconEx, hDummy, 1)

.

        readIconCount = ExtractIconEx(f, 0, hDummy, hIconEx, 1)

.
Documentation
[ExtractIconEx] on MSDN
.

    /// <summary> Summary description for ExtractIcon.</summary>

.

    public class ExtractIcon

.

    private ExtractIcon()

Interfaces

.

    interface IExtractIcon

.

    int GetIconLocation(IExtractIconuFlags uFlags, [Out, MarshalAs(UnmanagedType.LPWStr, SizeParamIndex = 2)] StringBuilder szIconFile, int cchMax, out int piIndex, out IExtractIconpwFlags pwFlags);

.

    public enum IExtractIconuFlags:uint

.

    public enum IExtractIconpwFlags : uint

.

interface IExtractIcon

.

Public Interface IExtractIcon

.
Documentation
[IExtractIcon] on MSDN

 
Access PInvoke.net directly from VS: