windows-nt/Source/XPSP1/NT/shell/shdocvw/assocurl.h
2020-09-26 16:20:57 +08:00

19 lines
782 B
C

#ifndef _ASSOC_H_
#define _ASSOC_H_
// STDAPI AssociateMIMEA(HWND hwndParent, DWORD dwInFlags, LPCSTR pcszFile, LPCSTR pcszMIMEContentType, LPSTR pszAppBuf, UINT cchAppBuf);
// STDAPI AssociateMIMEW(HWND hwndParent, DWORD dwInFlags, LPCWSTR pcszFile, LPCWSTR pcszMIMEContentType, LPWSTR pszAppBuf, UINT cchAppBuf);
STDAPI AssociateURLA(HWND hwndParent, DWORD dwInFlags, LPCSTR pcszFile, LPCSTR pcszURL, LPSTR pszAppBuf, UINT cchAppBuf);
STDAPI AssociateURLW(HWND hwndParent, DWORD dwInFlags, LPCWSTR pcszFile, LPCWSTR pcszURL, LPWSTR pszAppBuf, UINT cchAppBuf);
#ifdef UNICODE
// #define AssociateMIME AssociateMIMEW
#define AssociateURL AssociateURLW
#else
// #define AssociateMIME AssociateMIMEA
#define AssociateURL AssociateURLA
#endif
#endif // _ASSOC_H_