www.pudn.com > filespy.rar > unicode_str.h


#ifndef _MY_UNICODE_STR_LIB_WRITE_BY_LWF_07_07_24_INC_H 
#define _MY_UNICODE_STR_LIB_WRITE_BY_LWF_07_07_24_INC_H 
 
// 
// CopyRight: Wanfustudio (C) 2007 
// Distribute: free use and copy ,modify 
// 
   
ULONG 
GetWideStrLen( 
  const WCHAR* str   
  ); 
 
VOID 
CopyWideStr( 
  WCHAR* dst, 
  const WCHAR* src 
  ); 
 
PVOID 
AllocStrWithWideStr( 
  const WCHAR* str 
  ); 
     
PVOID 
AllocStrWithUniStr( 
  const PUNICODE_STRING ustr   
  ); 
   
VOID 
FreeStr( 
  PVOID str 
  ); 
 
 
BOOLEAN 
SetStrWithWideStr( 
  PVOID str, 
  const WCHAR* content 
  );     
 
BOOLEAN 
SetStrWithUniStr( 
  PVOID str, 
  const PUNICODE_STRING content 
  ); 
 
VOID 
CopyStr( 
  PVOID dst, 
  const PVOID src   
  ); 
 
VOID 
AppendStrWithInt( 
  int num 
  ); 
 
BOOLEAN 
AppendStrWithWideStr( 
  PVOID dst, 
  const WCHAR* str 
  ); 
 
BOOLEAN 
AppendStrWithUniStr( 
  PVOID dst, 
  PUNICODE_STRING str 
  ); 
   
BOOLEAN 
AppendStrWithVoidStr( 
  PVOID dst, 
  PVOID str 
  ); 
   
WCHAR* 
GetStrBuf( 
  PVOID str 
  ); 
   
PUNICODE_STRING 
GetStrUniStr( 
  PVOID str 
  ); 
   
ULONG 
GetStrBufLen( 
  PVOID str 
  );    
   
   
   
            
#endif