Leaked source code of windows server 2003
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.

25 lines
1.1 KiB

  1. #ifndef _UTILS_H_
  2. #define _UTILS_H_
  3. BOOL IsExplorerWindow(HWND hwnd);
  4. BOOL IsFolderWindow(HWND hwnd);
  5. BOOL IsTrayWindow(HWND hwnd);
  6. BOOL MyInternetSetOption(HANDLE h, DWORD dw1, LPVOID lpv, DWORD dw2);
  7. STDAPI_(BOOL) IsDesktopWindow(HWND hwnd);
  8. HRESULT HrSHGetValue(IN HKEY hKey, IN LPCTSTR pszSubKey, OPTIONAL IN LPCTSTR pszValue, OPTIONAL OUT LPDWORD pdwType, OPTIONAL OUT LPVOID pvData, OPTIONAL OUT LPDWORD pcbData);
  9. STDAPI IsSafePage(IUnknown *punkSite);
  10. STDAPI SHPropertyBag_WritePunk(IN IPropertyBag * pPropertyPage, IN LPCWSTR pwzPropName, IN IUnknown * punk);
  11. BOOL IconSetRegValueString(const CLSID* pclsid, LPCTSTR lpszSubKey, LPCTSTR lpszValName, LPCTSTR lpszValue);
  12. BOOL IconGetRegNameString(const CLSID* pclsid, LPTSTR lpszValue, int cchValue);
  13. BOOL IconGetRegIconString(const CLSID* pclsid, LPCTSTR lpszValName, LPTSTR lpszValue, int cchValue);
  14. BOOL CALLBACK Cabinet_RefreshEnum(HWND hwnd, LPARAM lParam);
  15. BOOL CALLBACK Cabinet_UpdateWebViewEnum(HWND hwnd, LPARAM lParam);
  16. void Cabinet_RefreshAll(WNDENUMPROC lpEnumFunc, LPARAM lParam);
  17. #endif // _UTILS_H_