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
960c2088
Commit
960c2088
authored
Jan 25, 2010
by
Hans Leidekker
Committed by
Alexandre Julliard
Jan 25, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pdh: Add a stub implementation of PdhSetDefaultRealTimeDataSource.
parent
132e646f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
1 deletion
+15
-1
pdh.spec
dlls/pdh/pdh.spec
+1
-1
pdh_main.c
dlls/pdh/pdh_main.c
+9
-0
pdh.h
include/pdh.h
+5
-0
No files found.
dlls/pdh/pdh.spec
View file @
960c2088
...
...
@@ -127,7 +127,7 @@
@ stub PdhSelectDataSourceA
@ stub PdhSelectDataSourceW
@ stdcall PdhSetCounterScaleFactor(ptr long)
@ st
ub PdhSetDefaultRealTimeDataSource
@ st
dcall PdhSetDefaultRealTimeDataSource(long)
@ stub PdhSetLogSetRunID
@ stub PdhSetQueryTimeRange
@ stub PdhTranslate009CounterA
...
...
dlls/pdh/pdh_main.c
View file @
960c2088
...
...
@@ -1211,3 +1211,12 @@ PDH_STATUS WINAPI PdhEnumObjectItemsW(LPCWSTR szDataSource, LPCWSTR szMachineNam
return
PDH_NOT_IMPLEMENTED
;
}
/***********************************************************************
* PdhSetDefaultRealTimeDataSource (PDH.@)
*/
PDH_STATUS
WINAPI
PdhSetDefaultRealTimeDataSource
(
DWORD
source
)
{
FIXME
(
"%u
\n
"
,
source
);
return
ERROR_SUCCESS
;
}
include/pdh.h
View file @
960c2088
...
...
@@ -49,6 +49,10 @@ typedef HANDLE PDH_HLOG;
#define PDH_FMT_1000 0x00002000
#define PDH_FMT_NOCAP100 0x00008000
#define DATA_SOURCE_REGISTRY 0x00000001
#define DATA_SOURCE_LOGFILE 0x00000002
#define DATA_SOURCE_WBEM 0x00000004
typedef
struct
_PDH_FMT_COUNTERVALUE
{
DWORD
CStatus
;
...
...
@@ -198,6 +202,7 @@ PDH_STATUS WINAPI PdhOpenQueryW(LPCWSTR, DWORD_PTR, PDH_HQUERY *);
#define PdhOpenQuery WINELIB_NAME_AW(PdhOpenQuery)
PDH_STATUS
WINAPI
PdhRemoveCounter
(
PDH_HCOUNTER
);
PDH_STATUS
WINAPI
PdhSetCounterScaleFactor
(
PDH_HCOUNTER
,
LONG
);
PDH_STATUS
WINAPI
PdhSetDefaultRealTimeDataSource
(
DWORD
);
PDH_STATUS
WINAPI
PdhValidatePathA
(
LPCSTR
);
PDH_STATUS
WINAPI
PdhValidatePathW
(
LPCWSTR
);
#define PdhValidatePath WINELIB_NAME_AW(PdhValidatePath)
...
...
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