File tree Expand file tree Collapse file tree 1 file changed +0
-52
lines changed Expand file tree Collapse file tree 1 file changed +0
-52
lines changed Original file line number Diff line number Diff line change @@ -52,56 +52,4 @@ CommonBitmapToIcon(
52
52
return icon ;
53
53
}
54
54
55
- /**
56
- * Creates a Ansi string using format specifiers.
57
- *
58
- * \param Format The format-control string.
59
- * \param ArgPtr A pointer to the list of arguments.
60
- */
61
- FORCEINLINE
62
- PPH_BYTES
63
- FormatAnsiString_V (
64
- _In_ _Printf_format_string_ PSTR Format ,
65
- _In_ va_list ArgPtr
66
- )
67
- {
68
- PPH_BYTES string ;
69
- int length ;
70
-
71
- length = _vscprintf (Format , ArgPtr );
72
-
73
- if (length == -1 )
74
- return NULL ;
75
-
76
- string = PhCreateBytesEx (NULL , length * sizeof (CHAR ));
77
-
78
- _vsnprintf (
79
- string -> Buffer ,
80
- length ,
81
- Format , ArgPtr
82
- );
83
-
84
- return string ;
85
- }
86
-
87
- /**
88
- * Creates a Ansi string using format specifiers.
89
- *
90
- * \param Format The format-control string.
91
- */
92
- FORCEINLINE
93
- PPH_BYTES
94
- FormatAnsiString (
95
- _In_ _Printf_format_string_ PSTR Format ,
96
- ...
97
- )
98
- {
99
- va_list argptr ;
100
-
101
- va_start (argptr , Format );
102
-
103
- return FormatAnsiString_V (Format , argptr );
104
- }
105
-
106
-
107
55
#endif
You can’t perform that action at this time.
0 commit comments