strpool.h

来自「一个类似windows」· C头文件 代码 · 共 36 行

H
36
字号
// strpool.h

#ifndef __USER32_INTERNAL_STRING_POOL_H
#define __USER32_INTERNAL_STRING_POOL_H

extern HANDLE hProcessHeap;

PVOID
HEAP_alloc ( DWORD len );

VOID
HEAP_free ( LPVOID memory );

LPWSTR
HEAP_strdupW ( LPCWSTR src, DWORD len );

NTSTATUS
HEAP_strcpyWtoA ( LPSTR lpszA, LPCWSTR lpszW, DWORD len );

NTSTATUS
HEAP_strcpyAtoW ( LPWSTR lpszW, LPCSTR lpszA, DWORD len );

NTSTATUS
HEAP_strdupWtoA ( LPSTR* ppszA, LPCWSTR lpszW, DWORD len );

NTSTATUS
HEAP_strdupAtoW ( LPWSTR* ppszW, LPCSTR lpszA, UINT* NewLen );

char*
heap_string_poolA ( const wchar_t* pstrW, DWORD length );

wchar_t*
heap_string_poolW ( const wchar_t* pstrWSrc, DWORD length );

#endif//__USER32_INTERNAL_STRING_POOL_H

⌨️ 快捷键说明

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