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
cb829762
Commit
cb829762
authored
Jan 27, 2009
by
Ricardo Filipe
Committed by
Alexandre Julliard
Jan 28, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pdh: Add stub for EdhEnumObjectItemsA/W.
parent
141dcff4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
34 additions
and
2 deletions
+34
-2
pdh.spec
dlls/pdh/pdh.spec
+2
-2
pdh_main.c
dlls/pdh/pdh_main.c
+28
-0
pdh.h
include/pdh.h
+3
-0
pdhmsg.h
include/pdhmsg.h
+1
-0
No files found.
dlls/pdh/pdh.spec
View file @
cb829762
...
@@ -28,10 +28,10 @@
...
@@ -28,10 +28,10 @@
@ stub PdhEnumMachinesHA
@ stub PdhEnumMachinesHA
@ stub PdhEnumMachinesHW
@ stub PdhEnumMachinesHW
@ stub PdhEnumMachinesW
@ stub PdhEnumMachinesW
@ st
ub PdhEnumObjectItemsA
@ st
dcall PdhEnumObjectItemsA(str str str ptr ptr ptr ptr long long)
@ stub PdhEnumObjectItemsHA
@ stub PdhEnumObjectItemsHA
@ stub PdhEnumObjectItemsHW
@ stub PdhEnumObjectItemsHW
@ st
ub PdhEnumObjectItemsW
@ st
dcall PdhEnumObjectItemsW(wstr wstr wstr ptr ptr ptr ptr long long)
@ stub PdhEnumObjectsA
@ stub PdhEnumObjectsA
@ stub PdhEnumObjectsHA
@ stub PdhEnumObjectsHA
@ stub PdhEnumObjectsHW
@ stub PdhEnumObjectsHW
...
...
dlls/pdh/pdh_main.c
View file @
cb829762
...
@@ -1059,3 +1059,31 @@ PDH_STATUS WINAPI PdhValidatePathExW( PDH_HLOG source, LPCWSTR path )
...
@@ -1059,3 +1059,31 @@ PDH_STATUS WINAPI PdhValidatePathExW( PDH_HLOG source, LPCWSTR path )
}
}
return
PdhValidatePathW
(
path
);
return
PdhValidatePathW
(
path
);
}
}
/***********************************************************************
* PdhEnumObjectItemsA (PDH.@)
*/
PDH_STATUS
WINAPI
PdhEnumObjectItemsA
(
LPCSTR
szDataSource
,
LPCSTR
szMachineName
,
LPCSTR
szObjectName
,
LPSTR
mszCounterList
,
LPDWORD
pcchCounterListLength
,
LPSTR
mszInstanceList
,
LPDWORD
pcchInstanceListLength
,
DWORD
dwDetailLevel
,
DWORD
dwFlags
)
{
FIXME
(
"%s, %s, %s, %p, %p, %p, %p, %d, 0x%x: stub
\n
"
,
debugstr_a
(
szDataSource
),
debugstr_a
(
szMachineName
),
debugstr_a
(
szObjectName
),
mszCounterList
,
pcchCounterListLength
,
mszInstanceList
,
pcchInstanceListLength
,
dwDetailLevel
,
dwFlags
);
return
PDH_NOT_IMPLEMENTED
;
}
/***********************************************************************
* PdhEnumObjectItemsW (PDH.@)
*/
PDH_STATUS
WINAPI
PdhEnumObjectItemsW
(
LPCWSTR
szDataSource
,
LPCWSTR
szMachineName
,
LPCWSTR
szObjectName
,
LPWSTR
mszCounterList
,
LPDWORD
pcchCounterListLength
,
LPWSTR
mszInstanceList
,
LPDWORD
pcchInstanceListLength
,
DWORD
dwDetailLevel
,
DWORD
dwFlags
)
{
FIXME
(
"%s, %s, %s, %p, %p, %p, %p, %d, 0x%x: stub
\n
"
,
debugstr_w
(
szDataSource
),
debugstr_w
(
szMachineName
),
debugstr_w
(
szObjectName
),
mszCounterList
,
pcchCounterListLength
,
mszInstanceList
,
pcchInstanceListLength
,
dwDetailLevel
,
dwFlags
);
return
PDH_NOT_IMPLEMENTED
;
}
include/pdh.h
View file @
cb829762
...
@@ -175,6 +175,9 @@ PDH_STATUS WINAPI PdhCloseQuery(PDH_HQUERY);
...
@@ -175,6 +175,9 @@ PDH_STATUS WINAPI PdhCloseQuery(PDH_HQUERY);
PDH_STATUS
WINAPI
PdhCollectQueryData
(
PDH_HQUERY
);
PDH_STATUS
WINAPI
PdhCollectQueryData
(
PDH_HQUERY
);
PDH_STATUS
WINAPI
PdhCollectQueryDataEx
(
PDH_HQUERY
,
DWORD
,
HANDLE
);
PDH_STATUS
WINAPI
PdhCollectQueryDataEx
(
PDH_HQUERY
,
DWORD
,
HANDLE
);
PDH_STATUS
WINAPI
PdhCollectQueryDataWithTime
(
PDH_HQUERY
,
LONGLONG
*
);
PDH_STATUS
WINAPI
PdhCollectQueryDataWithTime
(
PDH_HQUERY
,
LONGLONG
*
);
PDH_STATUS
WINAPI
PdhEnumObjectItemsA
(
LPCSTR
,
LPCSTR
,
LPCSTR
,
LPSTR
,
LPDWORD
,
LPSTR
,
LPDWORD
,
DWORD
,
DWORD
);
PDH_STATUS
WINAPI
PdhEnumObjectItemsW
(
LPCWSTR
,
LPCWSTR
,
LPCWSTR
,
LPWSTR
,
LPDWORD
,
LPWSTR
,
LPDWORD
,
DWORD
,
DWORD
);
#define PdhEnumObjectItems WINELIB_NAME_AW(PdhEnumObjectItems)
PDH_STATUS
WINAPI
PdhGetCounterInfoA
(
PDH_HCOUNTER
,
BOOLEAN
,
LPDWORD
,
PPDH_COUNTER_INFO_A
);
PDH_STATUS
WINAPI
PdhGetCounterInfoA
(
PDH_HCOUNTER
,
BOOLEAN
,
LPDWORD
,
PPDH_COUNTER_INFO_A
);
PDH_STATUS
WINAPI
PdhGetCounterInfoW
(
PDH_HCOUNTER
,
BOOLEAN
,
LPDWORD
,
PPDH_COUNTER_INFO_W
);
PDH_STATUS
WINAPI
PdhGetCounterInfoW
(
PDH_HCOUNTER
,
BOOLEAN
,
LPDWORD
,
PPDH_COUNTER_INFO_W
);
#define PdhGetCounterInfo WINELIB_NAME_AW(PdhGetCounterInfo)
#define PdhGetCounterInfo WINELIB_NAME_AW(PdhGetCounterInfo)
...
...
include/pdhmsg.h
View file @
cb829762
...
@@ -33,6 +33,7 @@
...
@@ -33,6 +33,7 @@
#define PDH_CSTATUS_BAD_COUNTERNAME 0xc0000bc0
#define PDH_CSTATUS_BAD_COUNTERNAME 0xc0000bc0
#define PDH_INSUFFICIENT_BUFFER 0xc0000bc2
#define PDH_INSUFFICIENT_BUFFER 0xc0000bc2
#define PDH_INVALID_DATA 0xc0000bc6
#define PDH_INVALID_DATA 0xc0000bc6
#define PDH_NOT_IMPLEMENTED 0xc0000bd3
#define PDH_STRING_NOT_FOUND 0xc0000bd4
#define PDH_STRING_NOT_FOUND 0xc0000bd4
#endif
/* _PDH_MSG_H_ */
#endif
/* _PDH_MSG_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