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 "Perceived" in [All]

Constants

.
Summary
.

enum PerceivedFlag

.

    ///<summary>No perceived type was found (PERCEIVED_TYPE_UNSPECIFIED).</summary>

.

    ///<summary>The perceived type was determined through an association in the registry.</summary>

.

    ///<summary>The perceived type is inherently known to Windows.</summary>

.

    ///<summary>The perceived type was determined through a codec provided with Windows.</summary>

.

    ///<summary>The perceived type is supported by the GDI+ library.</summary>

.

    ///<summary>The perceived type is supported by the Windows Media SDK.</summary>

.

    ///<summary>The perceived type is supported by Windows compressed folders.</summary>

.

Enum PerceivedFlag

.

    '''<summary>No perceived type was found (PERCEIVED_TYPE_UNSPECIFIED).</summary>

.

    '''<summary>The perceived type was determined through an association in the registry.</summary>

.

    '''<summary>The perceived type is inherently known to Windows.</summary>

.

    '''<summary>The perceived type was determined through a codec provided with Windows.</summary>

.

    '''<summary>The perceived type is supported by the GDI+ library.</summary>

.

    '''<summary>The perceived type is supported by the Windows Media SDK.</summary>

.

    '''<summary>The perceived type is supported by Windows compressed folders.</summary>

.

    public static PropertyKey PKEY_PerceivedType = new PropertyKey( 0x28636AA6, 0x953D, 0x11D2, 0xB5, 0xD6, 0x00, 0xC0, 0x4F, 0xD9, 0x18, 0xD0, 9);

shlwapi

.
Summary
Retrieves a file's perceived type based on its extension.
.

/// Retrieves a file's perceived type based on its extension.

.

static extern void AssocGetPerceivedType(

.

    out PerceivedType perceivedType,

.

    out PerceivedFlags perceivedFlags,

.

''' Retrieves a file's perceived type based on its extension.

.

Shared Sub AssocGetPerceivedType( _

.

    <Out> ByRef perceivedType As PerceivedType, _

.

    <Out> ByRef perceivedFlags As PerceivedFlags, _

.

See Perceived and PerceivedFlag enumerations

.

PerceivedType type;

.

PerceivedFlag flags;

.

AssocGetPerceivedType(".wav", out type, out flags, IntPtr.Zero);

.

Dim type As PerceivedType

.

Dim flags As PerceivedFlags

.

AssocGetPerceivedType(".wav", type, flags, IntPtr.Zero)

.
Documentation
[AssocGetPerceivedType] on MSDN

 
Access PInvoke.net directly from VS: