在VS2005+PB6.0的编译环境下调试HelloCE程序出错,该怎么处理

在VS2005+PB6.0的编译环境下调试HelloCE程序出错
提示 “WM_HIBERNATE”:未声明的标识符
代码如下:
//======================================================================
// HelloCE - A simple application for Windows CE
//
// Written for the book Programming Windows CE
// Copyright (C) 1998 Douglas Boling
//
//======================================================================
#include <windows.h> // For all that Windows stuff
#include <commctrl.h> // Command bar includes
#include "helloce.h" // Program-specific stuff


//----------------------------------
// Global data
//

const TCHAR szAppName[] = TEXT ("HelloCE");
HINSTANCE hInst; // Program instance handle

// Message dispatch table for MainWindowProc
const struct decodeUINT MainMessages[] = {
  WM_CREATE, DoCreateMain,
  WM_PAINT, DoPaintMain,
  WM_HIBERNATE, DoHibernateMain,
  WM_ACTIVATE, DoActivateMain,
  WM_DESTROY, DoDestroyMain,
};

//======================================================================
//
// Program entry point
//
int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
  LPWSTR lpCmdLine, int nCmdShow) {
  MSG msg;
  int rc = 0;
  HWND hwndMain;

  // init application
  rc = InitApp (hInstance);
  if (rc) return rc;

  // Initialize this instance.
  hwndMain = InitInstance (hInstance, lpCmdLine, nCmdShow);
  if (hwndMain == 0)
  return 0x10;

  // Application message loop
  while (GetMessage (&msg, NULL, 0, 0)) {
  TranslateMessage (&msg);
  DispatchMessage (&msg);
  }
  // Instance cleanup
  return TermInstance (hInstance, msg.wParam);
}
//----------------------------------
// InitApp - Application initialization
//
int InitApp (HINSTANCE hInstance) {
   

  // Register application main window class.
WNDCLASS wc;
  wc.style = 0; // Window style
  wc.lpfnWndProc = MainWndProc; // Callback function
  wc.cbClsExtra = 0; // Extra class data
  wc.cbWndExtra = 0; // Extra window data
  wc.hInstance = hInstance; // Owner handle
  wc.hIcon = NULL, // Application icon
  wc.hCursor = NULL; // Default cursor
  wc.hbrBackground = (HBRUSH) GetStockObject (WHITE_BRUSH);
  wc.lpszMenuName = NULL; // Menu name
  wc.lpszClassName = szAppName; // Window class name

  if (RegisterClass (&wc) == 0) return 1;

  return 0;
}
//----------------------------------
// InitInstance - Instance initialization
//
HWND InitInstance (HINSTANCE hInstance, LPWSTR lpCmdLine,
  int nCmdShow) {
  HWND hWnd;

  // Save program instance handle in global variable.
  hInst = hInstance;

  // Create main window.
  hWnd = CreateWindow (szAppName, // Window class
  TEXT("Hello"), // Window title
  WS_VISIBLE, // Style flags
  CW_USEDEFAULT, // x position
  CW_USEDEFAULT, // y position
  CW_USEDEFAULT, // Initial width