Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
c62940a1
Commit
c62940a1
authored
Jun 15, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Jun 15, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove some uses of wine/unicode.h functions.
parent
12a9ec13
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
54 additions
and
54 deletions
+54
-54
shelllink.c
dlls/shell32/shelllink.c
+54
-54
No files found.
dlls/shell32/shelllink.c
View file @
c62940a1
...
@@ -660,8 +660,8 @@ static HRESULT Stream_LoadAdvertiseInfo( IStream* stm, LPWSTR *str )
...
@@ -660,8 +660,8 @@ static HRESULT Stream_LoadAdvertiseInfo( IStream* stm, LPWSTR *str )
}
}
*
str
=
HeapAlloc
(
GetProcessHeap
(),
0
,
*
str
=
HeapAlloc
(
GetProcessHeap
(),
0
,
(
strlenW
(
buffer
.
szwDarwinID
)
+
1
)
*
sizeof
(
WCHAR
)
);
(
l
strlenW
(
buffer
.
szwDarwinID
)
+
1
)
*
sizeof
(
WCHAR
)
);
strcpyW
(
*
str
,
buffer
.
szwDarwinID
);
l
strcpyW
(
*
str
,
buffer
.
szwDarwinID
);
return
S_OK
;
return
S_OK
;
}
}
...
@@ -958,7 +958,7 @@ static HRESULT WINAPI IPersistStream_fnSave(
...
@@ -958,7 +958,7 @@ static HRESULT WINAPI IPersistStream_fnSave(
* so if the executable does not exist the just trust the path they
* so if the executable does not exist the just trust the path they
* gave us
* gave us
*/
*/
if
(
!*
exePath
)
strcpyW
(
exePath
,
This
->
sPath
);
if
(
!*
exePath
)
l
strcpyW
(
exePath
,
This
->
sPath
);
}
}
memset
(
&
header
,
0
,
sizeof
(
header
));
memset
(
&
header
,
0
,
sizeof
(
header
));
...
@@ -1443,25 +1443,25 @@ static HRESULT WINAPI IShellLinkA_fnSetArguments(IShellLinkA * iface, LPCSTR psz
...
@@ -1443,25 +1443,25 @@ static HRESULT WINAPI IShellLinkA_fnSetArguments(IShellLinkA * iface, LPCSTR psz
static
HRESULT
WINAPI
IShellLinkA_fnGetHotkey
(
IShellLinkA
*
iface
,
WORD
*
pwHotkey
)
static
HRESULT
WINAPI
IShellLinkA_fnGetHotkey
(
IShellLinkA
*
iface
,
WORD
*
pwHotkey
)
{
{
IShellLinkImpl
*
This
=
(
IShellLinkImpl
*
)
iface
;
IShellLinkImpl
*
This
=
(
IShellLinkImpl
*
)
iface
;
TRACE
(
"(%p)->(%p)(0x%08x)
\n
"
,
This
,
pwHotkey
,
This
->
wHotKey
);
TRACE
(
"(%p)->(%p)(0x%08x)
\n
"
,
This
,
pwHotkey
,
This
->
wHotKey
);
*
pwHotkey
=
This
->
wHotKey
;
*
pwHotkey
=
This
->
wHotKey
;
return
S_OK
;
return
S_OK
;
}
}
static
HRESULT
WINAPI
IShellLinkA_fnSetHotkey
(
IShellLinkA
*
iface
,
WORD
wHotkey
)
static
HRESULT
WINAPI
IShellLinkA_fnSetHotkey
(
IShellLinkA
*
iface
,
WORD
wHotkey
)
{
{
IShellLinkImpl
*
This
=
(
IShellLinkImpl
*
)
iface
;
IShellLinkImpl
*
This
=
(
IShellLinkImpl
*
)
iface
;
TRACE
(
"(%p)->(hotkey=%x)
\n
"
,
This
,
wHotkey
);
TRACE
(
"(%p)->(hotkey=%x)
\n
"
,
This
,
wHotkey
);
This
->
wHotKey
=
wHotkey
;
This
->
wHotKey
=
wHotkey
;
This
->
bDirty
=
TRUE
;
This
->
bDirty
=
TRUE
;
return
S_OK
;
return
S_OK
;
}
}
static
HRESULT
WINAPI
IShellLinkA_fnGetShowCmd
(
IShellLinkA
*
iface
,
INT
*
piShowCmd
)
static
HRESULT
WINAPI
IShellLinkA_fnGetShowCmd
(
IShellLinkA
*
iface
,
INT
*
piShowCmd
)
...
@@ -1622,27 +1622,27 @@ static HRESULT WINAPI IShellLinkA_fnSetPath(IShellLinkA * iface, LPCSTR pszFile)
...
@@ -1622,27 +1622,27 @@ static HRESULT WINAPI IShellLinkA_fnSetPath(IShellLinkA * iface, LPCSTR pszFile)
static
const
IShellLinkAVtbl
slvt
=
static
const
IShellLinkAVtbl
slvt
=
{
{
IShellLinkA_fnQueryInterface
,
IShellLinkA_fnQueryInterface
,
IShellLinkA_fnAddRef
,
IShellLinkA_fnAddRef
,
IShellLinkA_fnRelease
,
IShellLinkA_fnRelease
,
IShellLinkA_fnGetPath
,
IShellLinkA_fnGetPath
,
IShellLinkA_fnGetIDList
,
IShellLinkA_fnGetIDList
,
IShellLinkA_fnSetIDList
,
IShellLinkA_fnSetIDList
,
IShellLinkA_fnGetDescription
,
IShellLinkA_fnGetDescription
,
IShellLinkA_fnSetDescription
,
IShellLinkA_fnSetDescription
,
IShellLinkA_fnGetWorkingDirectory
,
IShellLinkA_fnGetWorkingDirectory
,
IShellLinkA_fnSetWorkingDirectory
,
IShellLinkA_fnSetWorkingDirectory
,
IShellLinkA_fnGetArguments
,
IShellLinkA_fnGetArguments
,
IShellLinkA_fnSetArguments
,
IShellLinkA_fnSetArguments
,
IShellLinkA_fnGetHotkey
,
IShellLinkA_fnGetHotkey
,
IShellLinkA_fnSetHotkey
,
IShellLinkA_fnSetHotkey
,
IShellLinkA_fnGetShowCmd
,
IShellLinkA_fnGetShowCmd
,
IShellLinkA_fnSetShowCmd
,
IShellLinkA_fnSetShowCmd
,
IShellLinkA_fnGetIconLocation
,
IShellLinkA_fnGetIconLocation
,
IShellLinkA_fnSetIconLocation
,
IShellLinkA_fnSetIconLocation
,
IShellLinkA_fnSetRelativePath
,
IShellLinkA_fnSetRelativePath
,
IShellLinkA_fnResolve
,
IShellLinkA_fnResolve
,
IShellLinkA_fnSetPath
IShellLinkA_fnSetPath
};
};
...
@@ -2158,27 +2158,27 @@ static HRESULT WINAPI IShellLinkW_fnSetPath(IShellLinkW * iface, LPCWSTR pszFile
...
@@ -2158,27 +2158,27 @@ static HRESULT WINAPI IShellLinkW_fnSetPath(IShellLinkW * iface, LPCWSTR pszFile
static
const
IShellLinkWVtbl
slvtw
=
static
const
IShellLinkWVtbl
slvtw
=
{
{
IShellLinkW_fnQueryInterface
,
IShellLinkW_fnQueryInterface
,
IShellLinkW_fnAddRef
,
IShellLinkW_fnAddRef
,
IShellLinkW_fnRelease
,
IShellLinkW_fnRelease
,
IShellLinkW_fnGetPath
,
IShellLinkW_fnGetPath
,
IShellLinkW_fnGetIDList
,
IShellLinkW_fnGetIDList
,
IShellLinkW_fnSetIDList
,
IShellLinkW_fnSetIDList
,
IShellLinkW_fnGetDescription
,
IShellLinkW_fnGetDescription
,
IShellLinkW_fnSetDescription
,
IShellLinkW_fnSetDescription
,
IShellLinkW_fnGetWorkingDirectory
,
IShellLinkW_fnGetWorkingDirectory
,
IShellLinkW_fnSetWorkingDirectory
,
IShellLinkW_fnSetWorkingDirectory
,
IShellLinkW_fnGetArguments
,
IShellLinkW_fnGetArguments
,
IShellLinkW_fnSetArguments
,
IShellLinkW_fnSetArguments
,
IShellLinkW_fnGetHotkey
,
IShellLinkW_fnGetHotkey
,
IShellLinkW_fnSetHotkey
,
IShellLinkW_fnSetHotkey
,
IShellLinkW_fnGetShowCmd
,
IShellLinkW_fnGetShowCmd
,
IShellLinkW_fnSetShowCmd
,
IShellLinkW_fnSetShowCmd
,
IShellLinkW_fnGetIconLocation
,
IShellLinkW_fnGetIconLocation
,
IShellLinkW_fnSetIconLocation
,
IShellLinkW_fnSetIconLocation
,
IShellLinkW_fnSetRelativePath
,
IShellLinkW_fnSetRelativePath
,
IShellLinkW_fnResolve
,
IShellLinkW_fnResolve
,
IShellLinkW_fnSetPath
IShellLinkW_fnSetPath
};
};
static
HRESULT
WINAPI
static
HRESULT
WINAPI
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment