Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Vladishev <aleksander.vladishev@zabbix.com>2009-08-27 15:16:50 +0400
committerAlexander Vladishev <aleksander.vladishev@zabbix.com>2009-08-27 15:16:50 +0400
commit4714efd3a76fbb3f98f8e51b364aeea775732ff1 (patch)
tree389905585d1bdbed02ed6e718fac2d4e9afa47fb /include/perfmon.h
parent2905671e1fa49436525b91a09c251b1701640315 (diff)
- [DEV-357] unicode support - windwos agent
Diffstat (limited to 'include/perfmon.h')
-rw-r--r--include/perfmon.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/perfmon.h b/include/perfmon.h
index b9abf46e9e1..a9adfd03c6f 100644
--- a/include/perfmon.h
+++ b/include/perfmon.h
@@ -46,7 +46,7 @@ struct perfcounter
{
struct perfcounter *next;
unsigned long pdhIndex;
- char name[MAX_PERFCOUNTER_NAME_LEN];
+ TCHAR name[MAX_PERFCOUNTER_NAME_LEN];
/* must be caracter array! if you want to rewrite */
/* to dinacal memory allocation CHECK for usage */
/* of sizeof function */
@@ -56,7 +56,7 @@ typedef struct perfcounter PERFCOUNTER;
extern PERFCOUNTER *PerfCounterList;
-char *GetCounterName(unsigned long index);
-int check_counter_path(char *counterPath);
+LPTSTR GetCounterName(DWORD pdhIndex);
+int check_counter_path(char *counterPath);
#endif /* ZABBIX_PERFMON_H */