GetGenericViewer
The GetGenericViewer
function obtains information on the default file viewer application to
be used for viewing/editing files inside archives during a file view/update
operation.
Note
This function is provided for backwards compatibility only. Newer applications
should use the GetGenericViewerEx
function.
|
LPCTSTR
GetGenericViewer(VOID); |
Parameters
This function has no parameters.
Return
Values
The function returns the
full path to the current default file viewer, such as "c:\windows\notepad.exe"
(without the quotes).
If no default viewer exists, the function returns NULL.
Remarks
The default file viewer
is only used when a file inside an archive cannot be opened by any one
of the registered applications on the system, meaning that it is an unrecognized
file type.
Requirements
Windows
NT/2000/XP: Requires Windows NT 4.0 SP4 or later.
Windows 95/98/Me: Requires Windows 98 (or Windows 95 with DCOM
1.2).
Header: Declared in mCodexAPI.h.
Library: Use mCodexAPI.dll.
See
Also
Codex
API Overview, Codex API Functions, SetGenericViewer
|