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
535f0bce
Commit
535f0bce
authored
Jan 18, 2011
by
Alexander Morozov
Committed by
Alexandre Julliard
Jan 19, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Added typelib.
parent
1adbaadc
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
38 additions
and
0 deletions
+38
-0
.gitignore
.gitignore
+1
-0
Makefile.in
dlls/shell32/Makefile.in
+2
-0
regsvr.c
dlls/shell32/regsvr.c
+13
-0
shell32.rc
dlls/shell32/shell32.rc
+3
-0
shell32_tlb.idl
dlls/shell32/shell32_tlb.idl
+19
-0
No files found.
.gitignore
View file @
535f0bce
...
...
@@ -127,6 +127,7 @@ dlls/rpcrt4/tests/server_c.c
dlls/rpcrt4/tests/server_s.c
dlls/shdocvw/shdocvw_v1.tlb
dlls/shell32/AUTHORS
dlls/shell32/shell32_tlb.tlb
dlls/stdole2.tlb/std_ole_v2.tlb
dlls/stdole32.tlb/std_ole_v1.tlb
dlls/sti/sti_wia.h
...
...
dlls/shell32/Makefile.in
View file @
535f0bce
...
...
@@ -89,6 +89,8 @@ RC_SRCS = \
PO_SRCS
=
shell32.rc
IDL_TLB_SRCS
=
shell32_tlb.idl
SVG_SRCS
=
\
cdrom.svg
\
control.svg
\
...
...
dlls/shell32/regsvr.c
View file @
535f0bce
...
...
@@ -22,6 +22,8 @@
#include <string.h>
#include <stdio.h>
#define COBJMACROS
#include "windef.h"
#include "winbase.h"
#include "winuser.h"
...
...
@@ -837,6 +839,8 @@ static struct regsvr_namespace const namespace_extensions_list[] = {
HRESULT
WINAPI
DllRegisterServer
(
void
)
{
HRESULT
hr
;
ITypeLib
*
tl
;
static
const
WCHAR
wszShell32
[]
=
{
's'
,
'h'
,
'e'
,
'l'
,
'l'
,
'3'
,
'2'
,
'.'
,
'd'
,
'l'
,
'l'
,
0
};
TRACE
(
"
\n
"
);
...
...
@@ -847,6 +851,12 @@ HRESULT WINAPI DllRegisterServer(void)
hr
=
SHELL_RegisterShellFolders
();
if
(
SUCCEEDED
(
hr
))
hr
=
register_namespace_extensions
(
namespace_extensions_list
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
LoadTypeLibEx
(
wszShell32
,
REGKIND_REGISTER
,
&
tl
);
if
(
SUCCEEDED
(
hr
))
ITypeLib_Release
(
tl
);
}
return
hr
;
}
...
...
@@ -864,5 +874,8 @@ HRESULT WINAPI DllUnregisterServer(void)
hr
=
unregister_interfaces
(
interface_list
);
if
(
SUCCEEDED
(
hr
))
hr
=
unregister_namespace_extensions
(
namespace_extensions_list
);
if
(
SUCCEEDED
(
hr
))
hr
=
UnRegisterTypeLib
(
&
LIBID_Shell32
,
1
,
0
,
LOCALE_SYSTEM_DEFAULT
,
SYS_WIN32
);
return
hr
;
}
dlls/shell32/shell32.rc
View file @
535f0bce
...
...
@@ -260,6 +260,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA."
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
/* @makedep: shell32_tlb.tlb */
1 TYPELIB shell32_tlb.tlb
shv_accel ACCELERATORS
BEGIN
VK_F5, FCIDM_SHVIEW_REFRESH, VIRTKEY
...
...
dlls/shell32/shell32_tlb.idl
0 → 100644
View file @
535f0bce
/*
*
Copyright
2010
Alexander
Morozov
for
Etersoft
*
*
This
library
is
free
software
; you can redistribute it and/or
*
modify
it
under
the
terms
of
the
GNU
Lesser
General
Public
*
License
as
published
by
the
Free
Software
Foundation
; either
*
version
2.1
of
the
License
,
or
(
at
your
option
)
any
later
version
.
*
*
This
library
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
GNU
*
Lesser
General
Public
License
for
more
details
.
*
*
You
should
have
received
a
copy
of
the
GNU
Lesser
General
Public
*
License
along
with
this
library
; if not, write to the Free Software
*
Foundation
,
Inc
.
,
51
Franklin
St
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
,
USA
*/
#
include
"shldisp.idl"
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