00001 00007 /* 00008 Copyright (C) 2007, 著者 00009 00010 This software is provided 'as-is', without any express or implied 00011 warranty. In no event will the authors be held liable for any damages 00012 arising from the use of this software. 00013 00014 Permission is granted to anyone to use this software for any purpose, 00015 including commercial applications, and to alter it and redistribute it 00016 freely, subject to the following restrictions: 00017 00018 1. The origin of this software must not be misrepresented; 00019 you must not claim that you wrote the original software. 00020 If you use this software in a product, an acknowledgment 00021 in the product documentation would be appreciated but is 00022 not required. 00023 00024 2. Altered source versions must be plainly marked as such, 00025 and must not be misrepresented as being the original software. 00026 00027 3. This notice may not be removed or altered from any source 00028 distribution. 00029 */ 00030 00031 #include "stdafx.h" 00032 #include <windows.h> 00033 #include "sample.h" 00034 00035 00043 CSample::CSample() 00044 { 00045 } 00046 00054 CSample::CSample( DWORD p1 ) 00055 { 00056 SampleFunc( p1, NULL ); 00057 } 00058 00064 CSample::~CSample() 00065 { 00066 } 00067 00091 bool CSample::SampleFunc( int p1, char* p2 ) 00092 { 00093 return true; 00094 }
1.5.4