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.

33 lines
680 B

  1. /*
  2. * valid.h - Validation functions description.
  3. */
  4. /* Prototypes
  5. *************/
  6. /* valid.c */
  7. extern BOOL IsValidHANDLE(HANDLE);
  8. extern BOOL IsValidHFILE(HANDLE);
  9. extern BOOL IsValidHWND(HWND);
  10. #if defined(DEBUG) || defined(VSTF)
  11. extern BOOL IsValidPCSECURITY_ATTRIBUTES(PCSECURITY_ATTRIBUTES);
  12. extern BOOL IsValidFileCreationMode(DWORD);
  13. extern BOOL IsValidHTEMPLATEFILE(HANDLE);
  14. extern BOOL IsValidPCFILETIME(PCFILETIME);
  15. #endif
  16. #ifdef DEBUG
  17. extern BOOL IsValidHINSTANCE(HINSTANCE);
  18. extern BOOL IsValidHICON(HICON);
  19. extern BOOL IsValidHKEY(HKEY);
  20. extern BOOL IsValidHMODULE(HMODULE);
  21. extern BOOL IsValidShowWindowCmd(int);
  22. #endif