2 * advapi32 perf functions
4 * Copyright 2017 Austin English
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
28 #include "wine/debug.h"
30 WINE_DEFAULT_DEBUG_CHANNEL(advapi
);
32 PPERF_COUNTERSET_INSTANCE WINAPI
PerfCreateInstance(HANDLE handle
, LPCGUID guid
, const WCHAR
*name
, ULONG id
)
34 FIXME("%p %s %s %u: stub\n", handle
, debugstr_guid(guid
), debugstr_w(name
), id
);
38 ULONG WINAPI
PerfDeleteInstance(HANDLE provider
, PPERF_COUNTERSET_INSTANCE block
)
40 FIXME("%p %p: stub\n", provider
, block
);
41 return ERROR_CALL_NOT_IMPLEMENTED
;
44 ULONG WINAPI
PerfSetCounterSetInfo(HANDLE handle
, PPERF_COUNTERSET_INFO
template, ULONG size
)
46 FIXME("%p %p %u: stub\n", handle
, template, size
);
47 return ERROR_CALL_NOT_IMPLEMENTED
;
50 ULONG WINAPI
PerfSetCounterRefValue(HANDLE provider
, PPERF_COUNTERSET_INSTANCE instance
, ULONG counterid
, void *address
)
52 FIXME("%p %p %u %p: stub\n", provider
, instance
, counterid
, address
);
53 return ERROR_CALL_NOT_IMPLEMENTED
;
56 ULONG WINAPI
PerfStartProvider(GUID
*guid
, PERFLIBREQUEST callback
, HANDLE
*provider
)
58 FIXME("%s %p %p: stub\n", debugstr_guid(guid
), callback
, provider
);
59 return ERROR_CALL_NOT_IMPLEMENTED
;
62 ULONG WINAPI
PerfStartProviderEx(GUID
*guid
, PPERF_PROVIDER_CONTEXT context
, HANDLE
*provider
)
64 FIXME("%s %p %p: stub\n", debugstr_guid(guid
), context
, provider
);
65 return ERROR_CALL_NOT_IMPLEMENTED
;
68 ULONG WINAPI
PerfStopProvider(HANDLE handle
)
70 FIXME("%p: stub\n", handle
);
71 return ERROR_CALL_NOT_IMPLEMENTED
;