mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[KMTESTS:OB] Refactor OBJ_DIRECTORY_TYPE_INFO_SIZE define construct
Object types are mere type names with no backslash. Also remove wcslen() from the define, it's not needed.
This commit is contained in:
parent
b373b7a11e
commit
f364bfc8f4
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
|||
#include <kmt_test.h>
|
||||
|
||||
#define OBJ_WINSTA_DIRECTORY_NAME_INFO_SIZE (sizeof(UNICODE_STRING) + sizeof(L"\\Windows"))
|
||||
#define OBJ_DIRECTORY_TYPE_INFO_SIZE (sizeof(OBJECT_TYPE_INFORMATION) + (wcslen(L"\\Directory") * sizeof(WCHAR)))
|
||||
#define OBJ_DIRECTORY_TYPE_INFO_SIZE (sizeof(OBJECT_TYPE_INFORMATION) + sizeof(L"Directory"))
|
||||
|
||||
static
|
||||
VOID
|
||||
|
|
Loading…
Reference in a new issue