📄 test.cpp
字号:
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft end-user
// license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
// If you did not accept the terms of the EULA, you are not authorized to use
// this source code. For a copy of the EULA, please see the LICENSE.RTF on your
// install media.
//
////////////////////////////////////////////////////////////////////////////////
//
// TUXTEST TUX DLL
//
// Module: test.cpp
// Contains the test functions.
//
// Revision History:
//
////////////////////////////////////////////////////////////////////////////////
#include "main.h"
#include "globals.h"
////////////////////////////////////////////////////////////////////////////////
// TestProc
// Executes one test.
//
// Parameters:
// uMsg Message code.
// tpParam Additional message-dependent data.
// lpFTE Function table entry that generated this call.
//
// Return value:
// TPR_PASS if the test passed, TPR_FAIL if the test fails, or possibly other
// special conditions.
TESTPROCAPI TestProc(UINT uMsg, TPPARAM tpParam, LPFUNCTION_TABLE_ENTRY lpFTE)
{
// The shell doesn't necessarily want us to execute the test. Make sure
// first.
if(uMsg != TPM_EXECUTE)
{
return TPR_NOT_HANDLED;
}
// TODO: Replace the following line with your own test code here. Also,
// change the return value from TPR_SKIP to the appropriate code.
g_pKato->Log(LOG_COMMENT, TEXT("This test is not yet implemented."));
return TPR_SKIP;
}
////////////////////////////////////////////////////////////////////////////////
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -