IKnownFolder (Interfaces)
Last changed: -80.238.99.167

.
Summary
TODO - a short description

C# Definition:

[ComImport, Guid ( "38521333-6A87-46A7-AE10-0F16706816C3" ), InterfaceType ( ComInterfaceType.InterfaceIsIUnknown )]
interface IKnownFolder
{
    [MethodImpl ( MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime )]
    void GetId ( out Guid pkfid );

    // Not yet supported - adding to fill slot in vtable
    void spacer1 ( );
    //[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
    //void GetCategory(out mbtagKF_CATEGORY pCategory);

    [MethodImpl ( MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime )]
    void GetShellItem ( [In] uint dwFlags, ref Guid riid, out IShellItem ppv );

    [MethodImpl ( MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime )]
    void GetPath ( [In] uint dwFlags, [MarshalAs ( UnmanagedType.LPWStr )] out string ppszPath );

    [MethodImpl ( MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime )]
    void SetPath ( [In] uint dwFlags, [In, MarshalAs ( UnmanagedType.LPWStr )] string pszPath );

    [MethodImpl ( MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime )]
    void GetLocation ( [In] uint dwFlags, [Out, ComAliasName ( "ShellObjects.wirePIDL" )] IntPtr ppidl );

    [MethodImpl ( MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime )]
    void GetFolderType ( out Guid pftid );

    [MethodImpl ( MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime )]
    void GetRedirectionCapabilities ( out uint pCapabilities );

    // Not yet supported - adding to fill slot in vtable
    void spacer2 ( );
    //[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
    //void GetFolderDefinition(out tagKNOWNFOLDER_DEFINITION pKFD);
}

VB Definition:

<ComImport> _
<Guid("TODO")> _
'TODO: Insert <InterfaceType(ComInterfaceType.InterfaceIsIUnknown)> _ if this doesn't derive from IDispatch
Interface IKnownFolder
   TODO
End Interface

User-Defined Types:

None.

Notes:

None.

Documentation