⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 unicode_str.h

📁 Unicode String 操作
💻 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

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -