projects
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[NTOS]
[reactos.git]
/
reactos
/
lib
/
sdk
/
strsafe
/
StringCbPrintfW.c
1
#define STRSAFE_NO_CCH_FUNCTIONS
2
#define StringCbPrintfW _StringCbPrintfW
3
#include <strsafe.h>
4
5
#undef StringCbPrintfW
6
HRESULT __stdcall
7
StringCbPrintfW
(
8
STRSAFE_LPWSTR pszDest
,
9
size_t
cbDest
,
10
STRSAFE_LPCWSTR pszFormat
,
11
...)
12
{
13
HRESULT result
;
14
va_list
args
;
15
va_start
(
args
,
pszFormat
);
16
result
=
StringCbVPrintfW
(
pszDest
,
cbDest
,
pszFormat
,
args
);
17
va_end
(
args
);
18
return
result
;
19
}