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.

18 lines
782 B

  1. #ifndef _ASSOC_H_
  2. #define _ASSOC_H_
  3. // STDAPI AssociateMIMEA(HWND hwndParent, DWORD dwInFlags, LPCSTR pcszFile, LPCSTR pcszMIMEContentType, LPSTR pszAppBuf, UINT cchAppBuf);
  4. // STDAPI AssociateMIMEW(HWND hwndParent, DWORD dwInFlags, LPCWSTR pcszFile, LPCWSTR pcszMIMEContentType, LPWSTR pszAppBuf, UINT cchAppBuf);
  5. STDAPI AssociateURLA(HWND hwndParent, DWORD dwInFlags, LPCSTR pcszFile, LPCSTR pcszURL, LPSTR pszAppBuf, UINT cchAppBuf);
  6. STDAPI AssociateURLW(HWND hwndParent, DWORD dwInFlags, LPCWSTR pcszFile, LPCWSTR pcszURL, LPWSTR pszAppBuf, UINT cchAppBuf);
  7. #ifdef UNICODE
  8. // #define AssociateMIME AssociateMIMEW
  9. #define AssociateURL AssociateURLW
  10. #else
  11. // #define AssociateMIME AssociateMIMEA
  12. #define AssociateURL AssociateURLA
  13. #endif
  14. #endif // _ASSOC_H_