1 : // Copyright 2012 Google Inc. All Rights Reserved.
2 : //
3 : // Licensed under the Apache License, Version 2.0 (the "License");
4 : // you may not use this file except in compliance with the License.
5 : // You may obtain a copy of the License at
6 : //
7 : // http://www.apache.org/licenses/LICENSE-2.0
8 : //
9 : // Unless required by applicable law or agreed to in writing, software
10 : // distributed under the License is distributed on an "AS IS" BASIS,
11 : // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 : // See the License for the specific language governing permissions and
13 : // limitations under the License.
14 : #ifndef SYZYGY_TRACE_ETW_CONTROL_CALL_TRACE_CONTROL_H_
15 : #define SYZYGY_TRACE_ETW_CONTROL_CALL_TRACE_CONTROL_H_
16 :
17 : #include <windows.h>
18 :
19 : // The following is part of the API exported by call_trace.dll.
20 m : extern "C" {
21 :
22 m : void CALLBACK StartCallTrace(HWND unused_window,
23 m : HINSTANCE unused_instance,
24 m : LPSTR unused_cmd_line,
25 m : int unused_show);
26 :
27 m : void CALLBACK StopCallTrace(HWND unused_window,
28 m : HINSTANCE unused_instance,
29 m : LPSTR unused_cmd_line,
30 m : int unused_show);
31 :
32 m : } // extern "C"
33 :
34 : // These are used by call_trace_control.exe
35 m : bool StartCallTraceImpl();
36 m : bool QueryCallTraceImpl();
37 m : bool StopCallTraceImpl();
38 :
39 : #endif // SYZYGY_TRACE_ETW_CONTROL_CALL_TRACE_CONTROL_H_
|