SHGNO  8GXJ4C 

The SHGNO enumeration type defines flags used with the IShellFolder::GetDisplayNameOf.9JTAM and IShellFolder::SetNameOf05HY.7 methods.

typedef enum tagSHGDN { 

    SHGDN_NORMAL = 0,

    SHGDN_INFOLDER = 1,

    SHGDN_FORPARSING = 0x8000,

} SHGNO;

 

Members

SHGDN_NORMAL

Default display name that is suitable for a file object displayed by itself, as shown in the following examples.

File system path

Corresponding display name

C:\WINDOWS\FILE.TXT

file

\\COMPUTER\SHARE

share on computer

C:\ (where drive C has the volume name My Drive)

My Drive (C)

 

SHGDN_INFOLDER

Display name that is suitable for a file object displayed within its respective folder, as shown in the following examples.

File system path

Corresponding display name

C:\WINDOWS\FILE.TXT

file

\\COMP\SHARE

user

C:\ (where drive C has the volume name My Drive)

My Drive (C)

 

SHGDN_FORPARSING

Display name that can be passed to the ParseDisplayName method of the parent folder s IShellFolder object.

File system path

Corresponding display name

C:\WINDOWS\FILE.TXT

C:\WINDOWS\FILE.TXT

\\COMP\SHARE

\\COMP\SHARE

C:\ (where drive C has the volume name My Drive)

C:\

 

See Also

IShellFolder::GetDisplayNameOf, IShellFolder::SetNameOf, ParseDisplayName