2008-08-29 Andy Grover <andy.grover@oracle.com>

* include/ddk/winddk.h (RtlStringCbCopyA, RtlStringCbPrintfA,
        RtlStringCbVPrintfA): define in terms of POSIX string functions.
This commit is contained in:
Chris Sutcliffe 2008-08-30 23:03:37 +00:00
parent ce11563e34
commit 1138964dd8
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2008-08-29 Andy Grover <andy.grover@oracle.com>
* include/ddk/winddk.h (RtlStringCbCopyA, RtlStringCbPrintfA,
RtlStringCbVPrintfA): define in terms of POSIX string functions.
2008-08-29 Andy Grover <andy.grover@oracle.com>
* include/ddk/winddk.h (KeRaiseIrql): Define.

View file

@ -4896,6 +4896,10 @@ RtlStringFromGUID(
/*IN*/ REFGUID Guid,
/*OUT*/ PUNICODE_STRING GuidString);
#define RtlStringCbCopyA(dst, dst_len, src) strncpy(dst, src, dst_len)
#define RtlStringCbPrintfA(args...) snprintf(args)
#define RtlStringCbVPrintfA(args...) vsnprintf(args)
NTOSAPI
BOOLEAN
DDKAPI