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
d68294f0
Commit
d68294f0
authored
Feb 23, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Feb 23, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove tabs and reformat.
parent
d95630eb
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
17 deletions
+17
-17
shfldr_mycomp.c
dlls/shell32/shfldr_mycomp.c
+0
-0
shlfsbind.c
dlls/shell32/shlfsbind.c
+17
-17
No files found.
dlls/shell32/shfldr_mycomp.c
View file @
d68294f0
This diff is collapsed.
Click to expand it.
dlls/shell32/shlfsbind.c
View file @
d68294f0
...
...
@@ -47,11 +47,11 @@ typedef struct
WIN32_FIND_DATAW
findFile
;
}
IFileSystemBindDataImpl
;
static
HRESULT
WINAPI
IFileSystemBindData_fnQueryInterface
(
IFileSystemBindData
*
iface
,
REFIID
riid
,
LPVOID
*
ppvObj
);
static
ULONG
WINAPI
IFileSystemBindData_fnAddRef
(
IFileSystemBindData
*
iface
);
static
ULONG
WINAPI
IFileSystemBindData_fnRelease
(
IFileSystemBindData
*
iface
);
static
HRESULT
WINAPI
IFileSystemBindData_fnGetFindData
(
IFileSystemBindData
*
iface
,
WIN32_FIND_DATAW
*
pfd
);
static
HRESULT
WINAPI
IFileSystemBindData_fnSetFindData
(
IFileSystemBindData
*
iface
,
const
WIN32_FIND_DATAW
*
pfd
);
static
HRESULT
WINAPI
IFileSystemBindData_fnQueryInterface
(
IFileSystemBindData
*
,
REFIID
,
LPVOID
*
);
static
ULONG
WINAPI
IFileSystemBindData_fnAddRef
(
IFileSystemBindData
*
);
static
ULONG
WINAPI
IFileSystemBindData_fnRelease
(
IFileSystemBindData
*
);
static
HRESULT
WINAPI
IFileSystemBindData_fnGetFindData
(
IFileSystemBindData
*
,
WIN32_FIND_DATAW
*
);
static
HRESULT
WINAPI
IFileSystemBindData_fnSetFindData
(
IFileSystemBindData
*
,
const
WIN32_FIND_DATAW
*
);
static
struct
IFileSystemBindDataVtbl
sbvt
=
{
...
...
@@ -62,7 +62,8 @@ static struct IFileSystemBindDataVtbl sbvt =
IFileSystemBindData_fnGetFindData
,
};
static
const
WCHAR
wFileSystemBindData
[]
=
{
'F'
,
'i'
,
'l'
,
'e'
,
' '
,
'S'
,
'y'
,
's'
,
't'
,
'e'
,
'm'
,
' '
,
'B'
,
'i'
,
'n'
,
'd'
,
'D'
,
'a'
,
't'
,
'a'
,
0
};
static
const
WCHAR
wFileSystemBindData
[]
=
{
'F'
,
'i'
,
'l'
,
'e'
,
' '
,
'S'
,
'y'
,
's'
,
't'
,
'e'
,
'm'
,
' '
,
'B'
,
'i'
,
'n'
,
'd'
,
'D'
,
'a'
,
't'
,
'a'
,
0
};
HRESULT
WINAPI
IFileSystemBindData_Constructor
(
const
WIN32_FIND_DATAW
*
pfd
,
LPBC
*
ppV
)
{
...
...
@@ -76,7 +77,7 @@ HRESULT WINAPI IFileSystemBindData_Constructor(const WIN32_FIND_DATAW *pfd, LPBC
*
ppV
=
NULL
;
sb
=
(
IFileSystemBindDataImpl
*
)
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
IFileSystemBindDataImpl
));
sb
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
IFileSystemBindDataImpl
));
if
(
!
sb
)
return
ret
;
...
...
@@ -88,6 +89,7 @@ HRESULT WINAPI IFileSystemBindData_Constructor(const WIN32_FIND_DATAW *pfd, LPBC
if
(
SUCCEEDED
(
ret
))
{
BIND_OPTS
bindOpts
;
bindOpts
.
cbStruct
=
sizeof
(
BIND_OPTS
);
bindOpts
.
grfFlags
=
0
;
bindOpts
.
grfMode
=
STGM_CREATE
;
...
...
@@ -146,11 +148,11 @@ HRESULT WINAPI FileSystemBindData_SetFindData(LPBC pbc, const WIN32_FIND_DATAW *
}
IUnknown_Release
(
pUnk
);
}
return
ret
;}
return
ret
;
}
static
HRESULT
WINAPI
IFileSystemBindData_fnQueryInterface
(
IFileSystemBindData
*
iface
,
REFIID
riid
,
LPVOID
*
ppV
)
static
HRESULT
WINAPI
IFileSystemBindData_fnQueryInterface
(
IFileSystemBindData
*
iface
,
REFIID
riid
,
LPVOID
*
ppV
)
{
IFileSystemBindDataImpl
*
This
=
(
IFileSystemBindDataImpl
*
)
iface
;
TRACE
(
"(%p)->(
\n\t
IID:
\t
%s, %p)
\n
"
,
This
,
debugstr_guid
(
riid
),
ppV
);
...
...
@@ -158,13 +160,9 @@ static HRESULT WINAPI IFileSystemBindData_fnQueryInterface(IFileSystemBindData *
*
ppV
=
NULL
;
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
))
{
*
ppV
=
This
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IFileSystemBindData
))
{
*
ppV
=
(
IFileSystemBindData
*
)
This
;
}
if
(
*
ppV
)
{
...
...
@@ -201,7 +199,8 @@ static ULONG WINAPI IFileSystemBindData_fnRelease(IFileSystemBindData *iface)
return
refCount
;
}
static
HRESULT
WINAPI
IFileSystemBindData_fnGetFindData
(
IFileSystemBindData
*
iface
,
WIN32_FIND_DATAW
*
pfd
)
static
HRESULT
WINAPI
IFileSystemBindData_fnGetFindData
(
IFileSystemBindData
*
iface
,
WIN32_FIND_DATAW
*
pfd
)
{
IFileSystemBindDataImpl
*
This
=
(
IFileSystemBindDataImpl
*
)
iface
;
TRACE
(
"(%p), %p
\n
"
,
This
,
pfd
);
...
...
@@ -213,7 +212,8 @@ static HRESULT WINAPI IFileSystemBindData_fnGetFindData(IFileSystemBindData *ifa
return
NOERROR
;
}
static
HRESULT
WINAPI
IFileSystemBindData_fnSetFindData
(
IFileSystemBindData
*
iface
,
const
WIN32_FIND_DATAW
*
pfd
)
static
HRESULT
WINAPI
IFileSystemBindData_fnSetFindData
(
IFileSystemBindData
*
iface
,
const
WIN32_FIND_DATAW
*
pfd
)
{
IFileSystemBindDataImpl
*
This
=
(
IFileSystemBindDataImpl
*
)
iface
;
TRACE
(
"(%p), %p
\n
"
,
This
,
pfd
);
...
...
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