ReactOS
0.4.16-dev-983-g23ad936
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
_
c
d
e
f
g
h
i
l
m
n
o
p
s
t
u
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
_
a
b
c
d
f
i
l
m
o
p
s
t
w
x
Enumerator
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
v
w
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
x
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
StringCchCopyNA.c
Go to the documentation of this file.
1
/*
2
* PROJECT: GCC c++ support library
3
* LICENSE: MIT (https://spdx.org/licenses/MIT)
4
* PURPOSE: StringCchCopyNA implementation
5
* COPYRIGHT: Copyright 2024 Timo Kreuzer <timo.kreuzer@reactos.org>
6
*/
7
8
#include <windows.h>
9
#define StringCchCopyNA _StringCchCopyNA
10
#include <
strsafe.h
>
11
12
#undef StringCchCopyNA
13
14
HRESULT
15
WINAPI
16
StringCchCopyNA
(
17
_Out_writes_
(
cchDest
)
_Always_
(
_Post_z_
)
STRSAFE_LPSTR
pszDest,
18
_In_
size_t
cchDest
,
19
_In_reads_or_z_
(cchToCopy)
STRSAFE_LPCSTR
pszSrc,
20
_In_
size_t
cchToCopy)
21
{
22
return
_StringCchCopyNA(pszDest,
cchDest
, pszSrc, cchToCopy);
23
}
cchDest
static _In_ LPCWSTR _In_ DWORD _In_ int _In_ int cchDest
Definition:
LCMapStringA.cpp:48
StringCchCopyNA
#define StringCchCopyNA
Definition:
StringCchCopyNA.c:9
HRESULT
Definition:
mshtmhst.idl:286
_Always_
#define _Always_(a)
Definition:
no_sal2.h:90
_Post_z_
#define _Post_z_
Definition:
no_sal2.h:508
_In_reads_or_z_
#define _In_reads_or_z_(s)
Definition:
no_sal2.h:174
_Out_writes_
#define _Out_writes_(s)
Definition:
no_sal2.h:176
_In_
#define _In_
Definition:
no_sal2.h:158
STRSAFE_LPCSTR
const char * STRSAFE_LPCSTR
Definition:
ntstrsafe.h:52
STRSAFE_LPSTR
char * STRSAFE_LPSTR
Definition:
ntstrsafe.h:51
strsafe.h
WINAPI
#define WINAPI
Definition:
msvc.h:6
sdk
lib
gcc-compat
StringCchCopyNA.c
Generated on Thu Apr 17 2025 06:16:16 for ReactOS by
1.9.6