INewShortcutHook::GetExtension method
Gets the file name extension for the shortcut object.
Syntax
HRESULT GetExtension(
[out] PTSTR pszExtension,
int cchExtension
);
Parameters
- pszExtension [out]
-
Type: PTSTR
Pointer to a string that receives the extension.
- cchExtension
-
Type: int
The size of the buffer at pszExtension, in characters.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
|
Minimum supported client |
Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
DLL |
|
Show: