home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / pc / DirectX SDK / DXSDK / samples / Multimedia / DirectShow_WinXP / VMR / VMRMix / Utils.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-10-08  |  657 b   |  25 lines

  1. //------------------------------------------------------------------------------
  2. // File: Utils.h
  3. //
  4. // Desc: DirectShow sample code
  5. //       Helper function prototypes
  6. //
  7. // Copyright (c) 2000-2001 Microsoft Corporation.  All rights reserved.
  8. //------------------------------------------------------------------------------
  9.  
  10. #if !defined(UTILS_H)
  11. #define UTILS_H
  12.  
  13. #include "stdafx.h"
  14.  
  15. // helper function prototypes
  16.  
  17. DWORD MyMessage(char *sQuestion, char *sTitle);
  18. DWORD ShellAbort(CVMRCore *core);
  19.  
  20. const char * hresultNameLookup(HRESULT hres);
  21.  
  22. bool MySleep(DWORD  dwTime = 2500);
  23. void GetMessageName(LPSTR Name, UINT msg);
  24.  
  25. #endif