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.

47 lines
1.2 KiB

  1. /*
  2. * valid.h - Validation functions description.
  3. */
  4. /* Prototypes
  5. *************/
  6. /* valid.c */
  7. extern BOOL IsValidHWND(HWND);
  8. #ifdef DEBUG
  9. extern BOOL IsValidFileCreationMode(DWORD);
  10. extern BOOL IsValidHANDLE(HANDLE);
  11. extern BOOL IsValidHEVENT(HANDLE);
  12. extern BOOL IsValidHFILE(HANDLE);
  13. extern BOOL IsValidHGLOBAL(HGLOBAL);
  14. extern BOOL IsValidHMENU(HMENU);
  15. extern BOOL IsValidHICON(HICON);
  16. extern BOOL IsValidHINSTANCE(HINSTANCE);
  17. extern BOOL IsValidHKEY(HKEY);
  18. extern BOOL IsValidHMODULE(HMODULE);
  19. extern BOOL IsValidHPROCESS(HANDLE);
  20. extern BOOL IsValidHTEMPLATEFILE(HANDLE);
  21. extern BOOL IsValidIconIndex(HRESULT, PCSTR, UINT, int);
  22. extern BOOL IsValidPCFILETIME(PCFILETIME);
  23. extern BOOL IsValidPCPOINT(PCPOINT);
  24. extern BOOL IsValidPCPOINTL(PCPOINTL);
  25. extern BOOL IsValidPCSECURITY_ATTRIBUTES(PCSECURITY_ATTRIBUTES);
  26. extern BOOL IsValidPCWIN32_FIND_DATA(PCWIN32_FIND_DATA);
  27. extern BOOL IsValidPath(PCSTR);
  28. extern BOOL IsValidPathResult(HRESULT, PCSTR, UINT);
  29. extern BOOL IsValidExtension(PCSTR);
  30. extern BOOL IsValidRegistryValueType(DWORD);
  31. extern BOOL IsValidShowCmd(int);
  32. extern BOOL IsValidHotkey(WORD);
  33. #ifdef _COMPARISONRESULT_DEFINED_
  34. extern BOOL IsValidCOMPARISONRESULT(COMPARISONRESULT);
  35. #endif /* _COMPARISONRESULT_DEFINED_ */
  36. #endif /* DEBUG */