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
78110088
Commit
78110088
authored
Feb 15, 2011
by
Andrew Nguyen
Committed by
Alexandre Julliard
Feb 16, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
propsys: Add a PSRefreshPropertySchema stub.
parent
6d098397
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
1 deletion
+27
-1
propsys.spec
dlls/propsys/propsys.spec
+1
-1
propsys_main.c
dlls/propsys/propsys_main.c
+6
-0
propsys.c
dlls/propsys/tests/propsys.c
+19
-0
propsys.idl
include/propsys.idl
+1
-0
No files found.
dlls/propsys/propsys.spec
View file @
78110088
...
@@ -88,7 +88,7 @@
...
@@ -88,7 +88,7 @@
@ stub PSGetPropertyValue
@ stub PSGetPropertyValue
@ stub PSLookupPropertyHandlerCLSID
@ stub PSLookupPropertyHandlerCLSID
@ stdcall PSPropertyKeyFromString(wstr ptr)
@ stdcall PSPropertyKeyFromString(wstr ptr)
@ st
ub PSRefreshPropertySchema
@ st
dcall PSRefreshPropertySchema()
@ stdcall PSRegisterPropertySchema(wstr)
@ stdcall PSRegisterPropertySchema(wstr)
@ stub PSSetPropertyValue
@ stub PSSetPropertyValue
@ stdcall PSStringFromPropertyKey(ptr ptr long)
@ stdcall PSStringFromPropertyKey(ptr ptr long)
...
...
dlls/propsys/propsys_main.c
View file @
78110088
...
@@ -72,6 +72,12 @@ HRESULT WINAPI PSGetPropertyDescription(REFPROPERTYKEY propkey, REFIID riid, voi
...
@@ -72,6 +72,12 @@ HRESULT WINAPI PSGetPropertyDescription(REFPROPERTYKEY propkey, REFIID riid, voi
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
HRESULT
WINAPI
PSRefreshPropertySchema
(
void
)
{
FIXME
(
"
\n
"
);
return
S_OK
;
}
HRESULT
WINAPI
PSStringFromPropertyKey
(
REFPROPERTYKEY
pkey
,
LPWSTR
psz
,
UINT
cch
)
HRESULT
WINAPI
PSStringFromPropertyKey
(
REFPROPERTYKEY
pkey
,
LPWSTR
psz
,
UINT
cch
)
{
{
static
const
WCHAR
guid_fmtW
[]
=
{
'{'
,
'%'
,
'0'
,
'8'
,
'X'
,
'-'
,
'%'
,
'0'
,
'4'
,
'X'
,
'-'
,
static
const
WCHAR
guid_fmtW
[]
=
{
'{'
,
'%'
,
'0'
,
'8'
,
'X'
,
'-'
,
'%'
,
'0'
,
'4'
,
'X'
,
'-'
,
...
...
dlls/propsys/tests/propsys.c
View file @
78110088
...
@@ -432,8 +432,27 @@ static void test_PSPropertyKeyFromString(void)
...
@@ -432,8 +432,27 @@ static void test_PSPropertyKeyFromString(void)
}
}
}
}
static
void
test_PSRefreshPropertySchema
(
void
)
{
HRESULT
ret
;
ret
=
PSRefreshPropertySchema
();
todo_wine
ok
(
ret
==
CO_E_NOTINITIALIZED
,
"Expected PSRefreshPropertySchema to return CO_E_NOTINITIALIZED, got 0x%08x
\n
"
,
ret
);
CoInitialize
(
NULL
);
ret
=
PSRefreshPropertySchema
();
ok
(
ret
==
S_OK
,
"Expected PSRefreshPropertySchema to return S_OK, got 0x%08x
\n
"
,
ret
);
CoUninitialize
();
}
START_TEST
(
propsys
)
START_TEST
(
propsys
)
{
{
test_PSStringFromPropertyKey
();
test_PSStringFromPropertyKey
();
test_PSPropertyKeyFromString
();
test_PSPropertyKeyFromString
();
test_PSRefreshPropertySchema
();
}
}
include/propsys.idl
View file @
78110088
...
@@ -802,6 +802,7 @@ cpp_quote("#define PKEYSTR_MAX (GUIDSTRING_MAX + 1 + PKEY_PIDSTR_MAX)")
...
@@ -802,6 +802,7 @@ cpp_quote("#define PKEYSTR_MAX (GUIDSTRING_MAX + 1 + PKEY_PIDSTR_MAX)")
cpp_quote("HRESULT WINAPI PSStringFromPropertyKey(REFPROPERTYKEY,LPWSTR,UINT);")
cpp_quote("HRESULT WINAPI PSStringFromPropertyKey(REFPROPERTYKEY,LPWSTR,UINT);")
cpp_quote("HRESULT WINAPI PSPropertyKeyFromString(LPCWSTR,PROPERTYKEY*);")
cpp_quote("HRESULT WINAPI PSPropertyKeyFromString(LPCWSTR,PROPERTYKEY*);")
cpp_quote("HRESULT WINAPI PSGetPropertyDescription(REFPROPERTYKEY,REFIID,void **);")
cpp_quote("HRESULT WINAPI PSGetPropertyDescription(REFPROPERTYKEY,REFIID,void **);")
cpp_quote("HRESULT WINAPI PSRefreshPropertySchema(void);")
/* TODO: Add remainder of the C api here */
/* TODO: Add remainder of the C api here */
...
...
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