VirtualBox

Changeset 91837 in vbox for trunk/include


Ignore:
Timestamp:
Oct 19, 2021 8:29:57 AM (3 years ago)
Author:
vboxsync
Message:

iprt/nt/nt.h: Moved RtlFreeUnicodeString up so its visible in ring-0 too; added RTNT_NULL_UNISTR() initializer. bugref:10093

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/nt/nt.h

    r91678 r91837  
    306306/** Constant UNICODE_STRING initializer. */
    307307#define RTNT_CONSTANT_UNISTR(a_String)   { sizeof(a_String) - sizeof(WCHAR), sizeof(a_String), (WCHAR *)a_String }
     308/** Null UNICODE_STRING initializer. */
     309#define RTNT_NULL_UNISTR()               { 0, 0, NULL }
    308310
    309311/** Declaration wrapper for NT apis.
     
    33903392#endif
    33913393
     3394RT_DECL_NTAPI(VOID)         RtlFreeUnicodeString(PUNICODE_STRING);
    33923395
    33933396RT_C_DECLS_END
     
    36783681# endif /* IPRT_NT_USE_WINTERNL */
    36793682RT_DECL_NTAPI(SIZE_T)       RtlCompactHeap(HANDLE hHeap, ULONG fFlags);
    3680 RT_DECL_NTAPI(VOID)         RtlFreeUnicodeString(PUNICODE_STRING);
    36813683RT_DECL_NTAPI(SIZE_T)       RtlSizeHeap(HANDLE hHeap, ULONG fFlags, PVOID pvMem);
    36823684RT_DECL_NTAPI(NTSTATUS)     RtlGetLastNtStatus(VOID);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette