ReactOS 0.4.16-dev-306-g647d351
_FILE_TYPE_ENTRY Struct Reference

Public Member Functions

bool IsExtension () const
 
LPCWSTR GetAssocForDisplay () const
 
void InvalidateTypeName ()
 
void InvalidateDefaultApp ()
 
void Initialize ()
 
void DestroyIcons ()
 

Public Attributes

WCHAR FileExtension [ASSOC_CCHMAX]
 
WCHAR FileDescription [TYPENAME_CCHMAX]
 
WCHAR ClassKey [MAX_PATH]
 
DWORD EditFlags
 
WCHAR AppName [64]
 
HICON hIconSmall
 
WCHAR ProgramPath [MAX_PATH]
 
WCHAR IconPath [MAX_PATH]
 
INT nIconIndex
 

Detailed Description

Definition at line 41 of file filetypes.cpp.

Member Function Documentation

◆ DestroyIcons()

void _FILE_TYPE_ENTRY::DestroyIcons ( )
inline

Definition at line 77 of file filetypes.cpp.

78 {
79 if (hIconSmall)
82 }
#define NULL
Definition: types.h:112
HICON hIconSmall
Definition: filetypes.cpp:48
BOOL WINAPI DestroyIcon(_In_ HICON)
Definition: cursoricon.c:2105

◆ GetAssocForDisplay()

LPCWSTR _FILE_TYPE_ENTRY::GetAssocForDisplay ( ) const
inline

Definition at line 57 of file filetypes.cpp.

58 {
59 return FileExtension + (FileExtension[0] == '.');
60 }
WCHAR FileExtension[ASSOC_CCHMAX]
Definition: filetypes.cpp:43

◆ Initialize()

void _FILE_TYPE_ENTRY::Initialize ( )
inline

Definition at line 69 of file filetypes.cpp.

70 {
73 nIconIndex = 0;
76 }
#define UNICODE_NULL
WCHAR ClassKey[MAX_PATH]
Definition: filetypes.cpp:45
void InvalidateDefaultApp()
Definition: filetypes.cpp:65
INT nIconIndex
Definition: filetypes.cpp:51
WCHAR IconPath[MAX_PATH]
Definition: filetypes.cpp:50
void InvalidateTypeName()
Definition: filetypes.cpp:61

◆ InvalidateDefaultApp()

void _FILE_TYPE_ENTRY::InvalidateDefaultApp ( )
inline

Definition at line 65 of file filetypes.cpp.

66 {
68 }
WCHAR AppName[64]
Definition: filetypes.cpp:47
WCHAR ProgramPath[MAX_PATH]
Definition: filetypes.cpp:49

Referenced by Initialize().

◆ InvalidateTypeName()

void _FILE_TYPE_ENTRY::InvalidateTypeName ( )
inline

Definition at line 61 of file filetypes.cpp.

62 {
64 }
WCHAR FileDescription[TYPENAME_CCHMAX]
Definition: filetypes.cpp:44

Referenced by Initialize().

◆ IsExtension()

bool _FILE_TYPE_ENTRY::IsExtension ( ) const
inline

Definition at line 53 of file filetypes.cpp.

54 {
55 return FileExtension[0] == '.';
56 }

Referenced by FileTypesDlg_CompareItems(), and GetClassKey().

Member Data Documentation

◆ AppName

WCHAR _FILE_TYPE_ENTRY::AppName[64]

Definition at line 47 of file filetypes.cpp.

Referenced by InvalidateDefaultApp().

◆ ClassKey

WCHAR _FILE_TYPE_ENTRY::ClassKey[MAX_PATH]

Definition at line 45 of file filetypes.cpp.

Referenced by GetClassKey(), and Initialize().

◆ EditFlags

DWORD _FILE_TYPE_ENTRY::EditFlags

Definition at line 46 of file filetypes.cpp.

◆ FileDescription

WCHAR _FILE_TYPE_ENTRY::FileDescription[TYPENAME_CCHMAX]

Definition at line 44 of file filetypes.cpp.

Referenced by InvalidateTypeName().

◆ FileExtension

WCHAR _FILE_TYPE_ENTRY::FileExtension[ASSOC_CCHMAX]

◆ hIconSmall

HICON _FILE_TYPE_ENTRY::hIconSmall

Definition at line 48 of file filetypes.cpp.

Referenced by DestroyIcons().

◆ IconPath

WCHAR _FILE_TYPE_ENTRY::IconPath[MAX_PATH]

Definition at line 50 of file filetypes.cpp.

Referenced by Initialize().

◆ nIconIndex

INT _FILE_TYPE_ENTRY::nIconIndex

Definition at line 51 of file filetypes.cpp.

Referenced by Initialize().

◆ ProgramPath

WCHAR _FILE_TYPE_ENTRY::ProgramPath[MAX_PATH]

Definition at line 49 of file filetypes.cpp.

Referenced by InvalidateDefaultApp().


The documentation for this struct was generated from the following file: