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.

33 lines
1.2 KiB

  1. // Copyright 1995-1997 Microsoft Corporation. All Rights Reserved.
  2. // itssini.h : INI file support for InfoTech Structured Storage files
  3. //
  4. // client side support ("read" functions only)
  5. #if _MSC_VER > 1000
  6. #pragma once
  7. #endif
  8. #ifndef __ITSSINI_H__
  9. #define __ITSSINI_H__
  10. LPCSTR CreateStorageFileBuffer( LPCTSTR lpFileName, IStorage* pStorage );
  11. __inline void DestroyStorageFileBuffer( LPCSTR lpBuffer ) {
  12. if (lpBuffer)
  13. lcFree(lpBuffer);
  14. }
  15. DWORD GetStorageProfileString( LPCTSTR lpSectionName, LPCTSTR lpKeyName,
  16. LPCTSTR lpDefault, LPSTR lpReturnedString,
  17. INT nSize, LPCSTR lpFileName,
  18. IStorage* pStorage );
  19. UINT GetStorageProfileInt( LPCTSTR lpSectionName, LPCTSTR lpKeyName,
  20. INT nDefault, LPCTSTR lpFileName,
  21. IStorage* pStorage );
  22. DWORD GetBufferProfileString( LPCTSTR lpSectionName, LPCTSTR lpKeyName,
  23. LPCTSTR lpDefault, LPSTR lpReturnedString,
  24. INT nSize, LPCSTR lpBuffer );
  25. UINT GetBufferProfileInt( LPCTSTR lpSectionName, LPCTSTR lpKeyName,
  26. INT nDefault, LPCSTR lpBuffer );
  27. #endif // __ITSSINI_H__