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:
parent
ce11563e34
commit
1138964dd8
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue