* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-
#include <stdarg.h>
#include <math.h>
#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
-#include <windef.h>
-#include <winbase.h>
-#include <pdh.h>
-#include <pdhmsg.h>
-//#include "winperf.h"
+#include "windef.h"
+#include "winbase.h"
+
+#include "pdh.h"
+#include "pdhmsg.h"
+#include "winperf.h"
-#include <wine/debug.h>
-#include <wine/list.h>
-#include <wine/unicode.h>
+#include "wine/debug.h"
+#include "wine/heap.h"
+#include "wine/list.h"
+#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL(pdh);
};
static CRITICAL_SECTION pdh_handle_cs = { &pdh_handle_cs_debug, -1, 0, 0, 0, 0 };
-static inline void *heap_alloc( SIZE_T size )
-{
- return HeapAlloc( GetProcessHeap(), 0, size );
-}
-
-static inline void *heap_alloc_zero( SIZE_T size )
-{
- return HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY, size );
-}
-
-static inline void heap_free( LPVOID mem )
-{
- HeapFree( GetProcessHeap(), 0, mem );
-}
-
static inline WCHAR *pdh_strdup( const WCHAR *src )
{
WCHAR *dst;
return PDH_NOT_IMPLEMENTED;
}
+/***********************************************************************
+ * PdhExpandCounterPathA (PDH.@)
+ */
+PDH_STATUS WINAPI PdhExpandCounterPathA( LPCSTR szWildCardPath, LPSTR mszExpandedPathList, LPDWORD pcchPathListLength )
+{
+ FIXME("%s, %p, %p: stub\n", debugstr_a(szWildCardPath), mszExpandedPathList, pcchPathListLength);
+ return PdhExpandWildCardPathA(NULL, szWildCardPath, mszExpandedPathList, pcchPathListLength, 0);
+}
+
+/***********************************************************************
+ * PdhExpandCounterPathW (PDH.@)
+ */
+PDH_STATUS WINAPI PdhExpandCounterPathW( LPCWSTR szWildCardPath, LPWSTR mszExpandedPathList, LPDWORD pcchPathListLength )
+{
+ FIXME("%s, %p, %p: stub\n", debugstr_w(szWildCardPath), mszExpandedPathList, pcchPathListLength);
+ return PdhExpandWildCardPathW(NULL, szWildCardPath, mszExpandedPathList, pcchPathListLength, 0);
+}
+
/***********************************************************************
* PdhGetCounterInfoA (PDH.@)
*/
FIXME("%u\n", source);
return ERROR_SUCCESS;
}
+
+/***********************************************************************
+ * PdhGetLogFileTypeA (PDH.@)
+ */
+PDH_STATUS WINAPI PdhGetLogFileTypeA(const char *log, DWORD *type)
+{
+ FIXME("%s, %p: stub\n", debugstr_a(log), type);
+ return PDH_NOT_IMPLEMENTED;
+}
+
+/***********************************************************************
+ * PdhGetLogFileTypeW (PDH.@)
+ */
+PDH_STATUS WINAPI PdhGetLogFileTypeW(const WCHAR *log, DWORD *type)
+{
+ FIXME("%s, %p: stub\n", debugstr_w(log), type);
+ return PDH_NOT_IMPLEMENTED;
+}
+
+/***********************************************************************
+ * PdhBindInputDataSourceA (PDH.@)
+ */
+PDH_STATUS WINAPI PdhBindInputDataSourceA(PDH_HLOG *source, const char *filenamelist)
+{
+ FIXME("%p %s: stub\n", source, debugstr_a(filenamelist));
+ return PDH_NOT_IMPLEMENTED;
+}
+
+/***********************************************************************
+ * PdhBindInputDataSourceW (PDH.@)
+ */
+PDH_STATUS WINAPI PdhBindInputDataSourceW(PDH_HLOG *source, const WCHAR *filenamelist)
+{
+ FIXME("%p %s: stub\n", source, debugstr_w(filenamelist));
+ return PDH_NOT_IMPLEMENTED;
+}