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
0333b758
Commit
0333b758
authored
Jan 25, 2013
by
Jacek Caban
Committed by
Alexandre Julliard
Jan 25, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
atl100: Added AtlGetPerUserRegistration stub implementation.
parent
7654d954
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
1 deletion
+20
-1
atl.c
dlls/atl100/atl.c
+12
-0
atl100.spec
dlls/atl100/atl100.spec
+1
-1
atl.c
dlls/atl100/tests/atl.c
+6
-0
atlbase.h
include/atlbase.h
+1
-0
No files found.
dlls/atl100/atl.c
View file @
0333b758
...
@@ -26,6 +26,8 @@
...
@@ -26,6 +26,8 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
atl100
);
WINE_DEFAULT_DEBUG_CHANNEL
(
atl100
);
typedef
unsigned
char
cpp_bool
;
static
inline
void
*
heap_alloc
(
size_t
len
)
static
inline
void
*
heap_alloc
(
size_t
len
)
{
{
return
HeapAlloc
(
GetProcessHeap
(),
0
,
len
);
return
HeapAlloc
(
GetProcessHeap
(),
0
,
len
);
...
@@ -709,6 +711,16 @@ HRESULT WINAPI AtlGetObjectSourceInterface(IUnknown *unk, GUID *libid, IID *iid,
...
@@ -709,6 +711,16 @@ HRESULT WINAPI AtlGetObjectSourceInterface(IUnknown *unk, GUID *libid, IID *iid,
}
}
/***********************************************************************
/***********************************************************************
* AtlGetPerUserRegistration [atl100.68]
*/
HRESULT
WINAPI
AtlGetPerUserRegistration
(
cpp_bool
*
pbEnabled
)
{
FIXME
(
"stub: returning false
\n
"
);
*
pbEnabled
=
0
;
return
S_OK
;
}
/***********************************************************************
* AtlGetVersion [atl100.@]
* AtlGetVersion [atl100.@]
*/
*/
DWORD
WINAPI
AtlGetVersion
(
void
*
pReserved
)
DWORD
WINAPI
AtlGetVersion
(
void
*
pReserved
)
...
...
dlls/atl100/atl100.spec
View file @
0333b758
...
@@ -49,4 +49,4 @@
...
@@ -49,4 +49,4 @@
65 stdcall AtlWinModuleInit(ptr)
65 stdcall AtlWinModuleInit(ptr)
66 stub AtlWinModuleTerm
66 stub AtlWinModuleTerm
67 stub AtlSetPerUserRegistration
67 stub AtlSetPerUserRegistration
68 st
ub AtlGetPerUserRegistration
68 st
dcall AtlGetPerUserRegistration(ptr)
dlls/atl100/tests/atl.c
View file @
0333b758
...
@@ -150,6 +150,7 @@ static void _test_key_not_exists(unsigned line, HKEY root, const char *key_name)
...
@@ -150,6 +150,7 @@ static void _test_key_not_exists(unsigned line, HKEY root, const char *key_name)
static
void
test_regcat
(
void
)
static
void
test_regcat
(
void
)
{
{
unsigned
char
b
;
HRESULT
hres
;
HRESULT
hres
;
const
struct
_ATL_CATMAP_ENTRY
catmap
[]
=
{
const
struct
_ATL_CATMAP_ENTRY
catmap
[]
=
{
...
@@ -178,6 +179,11 @@ static void test_regcat(void)
...
@@ -178,6 +179,11 @@ static void test_regcat(void)
ok
(
hres
==
S_OK
,
"AtlRegisterClassCategoriesHelper failed: %08x
\n
"
,
hres
);
ok
(
hres
==
S_OK
,
"AtlRegisterClassCategoriesHelper failed: %08x
\n
"
,
hres
);
test_key_not_exists
(
HKEY_CLASSES_ROOT
,
"CLSID
\\
{"
CLSID_TEST_STR
"}"
);
test_key_not_exists
(
HKEY_CLASSES_ROOT
,
"CLSID
\\
{"
CLSID_TEST_STR
"}"
);
b
=
10
;
hres
=
AtlGetPerUserRegistration
(
&
b
);
ok
(
hres
==
S_OK
,
"AtlGetPerUserRegistration failed: %08x
\n
"
,
hres
);
ok
(
!
b
,
"AtlGetPerUserRegistration returned %x
\n
"
,
b
);
}
}
static
void
test_typelib
(
void
)
static
void
test_typelib
(
void
)
...
...
include/atlbase.h
View file @
0333b758
...
@@ -258,5 +258,6 @@ HRESULT WINAPI AtlComModuleGetClassObject(_ATL_COM_MODULE*,REFCLSID,REFIID,void*
...
@@ -258,5 +258,6 @@ HRESULT WINAPI AtlComModuleGetClassObject(_ATL_COM_MODULE*,REFCLSID,REFIID,void*
HRESULT
WINAPI
AtlComModuleUnregisterServer
(
_ATL_COM_MODULE
*
,
BOOL
,
const
CLSID
*
);
HRESULT
WINAPI
AtlComModuleUnregisterServer
(
_ATL_COM_MODULE
*
,
BOOL
,
const
CLSID
*
);
BOOL
WINAPI
AtlWaitWithMessageLoop
(
HANDLE
);
BOOL
WINAPI
AtlWaitWithMessageLoop
(
HANDLE
);
HRESULT
WINAPI
AtlGetObjectSourceInterface
(
IUnknown
*
,
GUID
*
,
IID
*
,
unsigned
short
*
,
unsigned
short
*
);
HRESULT
WINAPI
AtlGetObjectSourceInterface
(
IUnknown
*
,
GUID
*
,
IID
*
,
unsigned
short
*
,
unsigned
short
*
);
HRESULT
WINAPI
AtlGetPerUserRegistration
(
unsigned
char
/*bool*/
*
);
#endif
/* __WINE_ATLBASE_H__ */
#endif
/* __WINE_ATLBASE_H__ */
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