| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- // stdafx.h : 标准系统包含文件的包含文件,
- // 或是经常使用但不常更改的
- // 特定于项目的包含文件
- //
- #pragma once
- #include "targetver.h"
- #define WIN32_LEAN_AND_MEAN // 从 Windows 头文件中排除极少使用的信息
- #include <afx.h>
- #include <afxwin.h> // MFC 核心组件和标准组件
- // TODO: 在此处引用程序需要的其他头文件
- #include <iostream>
- #include <string>
- #include <stdio.h>
- #include <stdlib.h>
- #include "StringConvert.h"
- using namespace std;
- #include <strsafe.h>
- #include <objbase.h>
- #pragma warning(push)
- #pragma warning(disable : 4201)
- #pragma warning(disable: 4996)
- #include <commctrl.h>
- #include <mmdeviceapi.h>
- #include <endpointvolume.h>
- #include <devicetopology.h>
- #include <Audioclient.h>
- #pragma warning(pop)
- #ifdef DEBUG
- #include <conio.h>
- #include <stdio.h>
- #define CONSOLE_ON() AllocConsole()
- #define CONSOLE_OFF() FreeConsole()
- #define PRINTF printf
- #else
- #define CONSOLE_ON()
- #define CONSOLE_OFF()
- #define PRINTF
- #endif
- UINT SYSTEM_ON(CStringA cmdLine);
- UINT SYSTEM_ON(CStringW cmdLine);
|