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.
29 lines
434 B
29 lines
434 B
#pragma once
|
|
|
|
#include <fltKernel.h>
|
|
|
|
#define MAX_PATH 260
|
|
|
|
#define dprintf(...) DbgPrintEx(DPFLTR_IHVDRIVER_ID, DPFLTR_ERROR_LEVEL, __VA_ARGS__)
|
|
|
|
FORCEINLINE
|
|
wchar_t *
|
|
strcat_w(wchar_t *dest, const wchar_t *src)
|
|
{
|
|
if ((dest == 0) || (src == 0))
|
|
return dest;
|
|
|
|
while (*dest != 0)
|
|
dest++;
|
|
|
|
while (*src != 0)
|
|
{
|
|
*dest = *src;
|
|
dest++;
|
|
src++;
|
|
}
|
|
|
|
*dest = 0;
|
|
return dest;
|
|
}
|