Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
562 B

  1. /*
  2. * AVICAP32:
  3. *
  4. * utility functions to read and write values to the profile,
  5. * using win.ini for Win16/Win95 or current
  6. * the registry for Win32 NT. (Trivial to change to registry for Win95)
  7. *
  8. * The only routine that AVICAP32 uses is GetProfileIntA
  9. */
  10. #if defined(_WIN32) && defined(UNICODE)
  11. /*
  12. * read a UINT from the profile, or return default if
  13. * not found.
  14. */
  15. UINT mmGetProfileIntA(LPCSTR appname, LPCSTR valuename, INT uDefault);
  16. // Now map all instances of GetProfileIntA to mmGetProfileIntA
  17. #define GetProfileIntA mmGetProfileIntA
  18. #endif