본문 바로가기
코스웨어/13년 스마트컨트롤러

WndProc

by 알 수 없는 사용자 2013. 10. 21.
728x90
반응형
LRESULT CALLBACK WndProc(HWND hWnd, UINT iMessage, WPARAM wParam, LPARAM IParam)
{
  
  unsigned int uiCnt;

  for(uiCnt = 0;uiCnt< (sizeof(messageMap)/sizeof(messageMap[0])) ; ++uiCnt)
  {
    if(iMessage == messageMap[uiCnt].iMessage)
    {
      
      return ( (messageMap[uiCnt].fp)(hWnd,wParam,IParam) );
    }

  }
  
  return (DefWindowProc(hWnd, iMessage, wParam, IParam));
}


728x90

'코스웨어 > 13년 스마트컨트롤러' 카테고리의 다른 글

Cortex-M3 로 캐릭터 LCD 제어하기  (0) 2013.10.23
소코반 - 손초롱  (1) 2013.10.22
Cortex-M3 LED 깜빡이기  (0) 2013.10.22
Cortex-M3 LED 켜기  (0) 2013.10.22
2013.10.21_ARM Cortex-M3 _ 메뉴얼  (2) 2013.10.21
Cortex-M3 예제소스  (0) 2013.10.18
M3 회로도  (0) 2013.10.18
2013.10.17 _ ARM Reverse Engineering PDF 참조하세요 ~ :)  (0) 2013.10.17