// MsSDKTest.h : main header file for the MSSDKTEST application
//

#if !defined(AFX_MSSDKTEST_H__6BC74754_2D4C_4CDE_B367_6D40D871D995__INCLUDED_)
#define AFX_MSSDKTEST_H__6BC74754_2D4C_4CDE_B367_6D40D871D995__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"		// main symbols

/////////////////////////////////////////////////////////////////////////////
// CMsSDKTestApp:
// See MsSDKTest.cpp for the implementation of this class
//

static int GetProgramFilePath(char* szFilePath, size_t iLen)
{
	if(!szFilePath) return -1;

	GetModuleFileNameA(NULL, szFilePath, iLen); 
	char* pPos = strrchr(szFilePath, '\\');
	if(pPos != NULL){
		*pPos = 0;
	}else{ 
		return -1;
	}

	return 0;
}

class CMsSDKTestApp : public CWinApp
{
public:
	CMsSDKTestApp();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMsSDKTestApp)
	public:
	virtual BOOL InitInstance();
	//}}AFX_VIRTUAL

// Implementation

	//{{AFX_MSG(CMsSDKTestApp)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};


/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MSSDKTEST_H__6BC74754_2D4C_4CDE_B367_6D40D871D995__INCLUDED_)
