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.

38 lines
946 B

  1. //+--------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1992.
  5. //
  6. // File: funcs.hxx
  7. //
  8. // Contents: Header for funcs.cxx
  9. //
  10. // History: 22-Jan-92 DrewB Created
  11. //
  12. //---------------------------------------------------------------
  13. #ifndef __FUNCS_HXX__
  14. #define __FUNCS_HXX__
  15. #include <dfmsp.hxx>
  16. class PSStream;
  17. SCODE VerifyPerms(DWORD grfMode, BOOL fRoot);
  18. SCODE DeleteIStorageContents(IStorage *pstg);
  19. SCODE ValidateSNB(SNBW snb);
  20. SCODE CopySStreamToSStream(PSStream *pstFrom, PSStream *pstTo);
  21. SCODE NameInSNB(CDfName const *dfn, SNBW snb);
  22. #ifdef OLEWIDECHAR
  23. SCODE CheckName(WCHAR const *pwcsName);
  24. #else
  25. // For non-Unicode builds, we verify strings before converting them
  26. // to wide character strings, so there's no need to recheck them.
  27. # define CheckName(pwcsName) S_OK
  28. #endif
  29. #endif