Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
adc9b650
Commit
adc9b650
authored
Jul 19, 2003
by
Jon Griffiths
Committed by
Alexandre Julliard
Jul 19, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move IQueryAssociations into shlwapi. Docs/-W/MSVC++ fixes.
parent
cf2f57f9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
148 deletions
+0
-148
classes.c
dlls/shell32/classes.c
+0
-148
assoc.c
dlls/shlwapi/assoc.c
+0
-0
No files found.
dlls/shell32/classes.c
View file @
adc9b650
...
...
@@ -405,151 +405,3 @@ BOOL HCR_GetFolderAttributes (REFIID riid, LPDWORD szDest)
return
TRUE
;
}
typedef
struct
{
ICOM_VFIELD
(
IQueryAssociations
);
DWORD
ref
;
}
IQueryAssociationsImpl
;
static
struct
ICOM_VTABLE
(
IQueryAssociations
)
qavt
;
/**************************************************************************
* IQueryAssociations_Constructor
*/
IQueryAssociations
*
IQueryAssociations_Constructor
(
void
)
{
IQueryAssociationsImpl
*
ei
;
ei
=
(
IQueryAssociationsImpl
*
)
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
IQueryAssociationsImpl
));
ei
->
ref
=
1
;
ei
->
lpVtbl
=
&
qavt
;
TRACE
(
"(%p)
\n
"
,
ei
);
return
(
IQueryAssociations
*
)
ei
;
}
/**************************************************************************
* IQueryAssociations_QueryInterface
*/
static
HRESULT
WINAPI
IQueryAssociations_fnQueryInterface
(
IQueryAssociations
*
iface
,
REFIID
riid
,
LPVOID
*
ppvObj
)
{
ICOM_THIS
(
IQueryAssociationsImpl
,
iface
);
TRACE
(
"(%p)->(
\n\t
IID:
\t
%s,%p)
\n
"
,
This
,
debugstr_guid
(
riid
),
ppvObj
);
*
ppvObj
=
NULL
;
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
))
/*IUnknown*/
{
*
ppvObj
=
This
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IQueryAssociations
))
/*IExtractIcon*/
{
*
ppvObj
=
(
IQueryAssociations
*
)
This
;
}
if
(
*
ppvObj
)
{
IQueryAssociations_AddRef
((
IQueryAssociations
*
)
*
ppvObj
);
TRACE
(
"-- Interface: (%p)->(%p)
\n
"
,
ppvObj
,
*
ppvObj
);
return
S_OK
;
}
TRACE
(
"-- Interface: E_NOINTERFACE
\n
"
);
return
E_NOINTERFACE
;
}
/**************************************************************************
* IQueryAssociations_AddRef
*/
static
ULONG
WINAPI
IQueryAssociations_fnAddRef
(
IQueryAssociations
*
iface
)
{
ICOM_THIS
(
IQueryAssociationsImpl
,
iface
);
TRACE
(
"(%p)->(count=%lu)
\n
"
,
This
,
This
->
ref
);
return
++
(
This
->
ref
);
}
/**************************************************************************
* IQueryAssociations_Release
*/
static
ULONG
WINAPI
IQueryAssociations_fnRelease
(
IQueryAssociations
*
iface
)
{
ICOM_THIS
(
IQueryAssociationsImpl
,
iface
);
TRACE
(
"(%p)->()
\n
"
,
This
);
if
(
!--
(
This
->
ref
))
{
TRACE
(
" destroying IExtractIcon(%p)
\n
"
,
This
);
HeapFree
(
GetProcessHeap
(),
0
,
This
);
return
0
;
}
return
This
->
ref
;
}
static
HRESULT
WINAPI
IQueryAssociations_fnInit
(
IQueryAssociations
*
iface
,
ASSOCF
flags
,
LPCWSTR
pszAssoc
,
HKEY
hkProgid
,
HWND
hwnd
)
{
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IQueryAssociations_fnGetString
(
IQueryAssociations
*
iface
,
ASSOCF
flags
,
ASSOCSTR
str
,
LPCWSTR
pszExtra
,
LPWSTR
pszOut
,
DWORD
*
pcchOut
)
{
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IQueryAssociations_fnGetKey
(
IQueryAssociations
*
iface
,
ASSOCF
flags
,
ASSOCKEY
key
,
LPCWSTR
pszExtra
,
HKEY
*
phkeyOut
)
{
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IQueryAssociations_fnGetData
(
IQueryAssociations
*
iface
,
ASSOCF
flags
,
ASSOCDATA
data
,
LPCWSTR
pszExtra
,
LPVOID
pvOut
,
DWORD
*
pcbOut
)
{
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IQueryAssociations_fnGetEnum
(
IQueryAssociations
*
iface
,
ASSOCF
flags
,
ASSOCENUM
assocenum
,
LPCWSTR
pszExtra
,
REFIID
riid
,
LPVOID
*
ppvOut
)
{
return
E_NOTIMPL
;
}
static
struct
ICOM_VTABLE
(
IQueryAssociations
)
qavt
=
{
ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE
IQueryAssociations_fnQueryInterface
,
IQueryAssociations_fnAddRef
,
IQueryAssociations_fnRelease
,
IQueryAssociations_fnInit
,
IQueryAssociations_fnGetString
,
IQueryAssociations_fnGetKey
,
IQueryAssociations_fnGetData
,
IQueryAssociations_fnGetEnum
};
dlls/shlwapi/assoc.c
View file @
adc9b650
This diff is collapsed.
Click to expand it.
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