📄 playsdkdemo.h
字号:
#if !defined(AFX_PLAYSDKDEMO_H__A86FC30A_9D82_4A97_9A7D_DE93BFAA942A__INCLUDED_)
#define AFX_PLAYSDKDEMO_H__A86FC30A_9D82_4A97_9A7D_DE93BFAA942A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PlaySDKDemo.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CPlaySDKDemo dialog
class CPlaySDKDemo : public CDialog
{
// Construction
public:
CPlaySDKDemo(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CPlaySDKDemo)
enum { IDD = IDD_PLAYSDKDEMO };
CString m_strIP;
UINT m_nChannel;
//}}AFX_DATA
friend void CALLBACK PlaySDKCallBack(LONG lRealHandle,
DWORD dwDataType, BYTE *pBuffer,
DWORD dwBufSize, DWORD dwUser);
void AddData(LONG lRealHandle, DWORD dwDataType, char *pBuffer, DWORD dwBufSize);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPlaySDKDemo)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CPlaySDKDemo)
afx_msg void OnBtnPlay();
virtual BOOL OnInitDialog();
afx_msg void OnClose();
afx_msg void OnBtnStop();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
LONG m_lLoginID;
LONG m_lChannelID;
BOOL m_bPlaying;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PLAYSDKDEMO_H__A86FC30A_9D82_4A97_9A7D_DE93BFAA942A__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -