ReactOS 0.4.16-dev-338-g34e76ad
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
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}
#define StringCchCopyNA
#define _Post_z_
Definition: no_sal2.h:508
#define _Always_(a)
Definition: no_sal2.h:90
#define _In_reads_or_z_(s)
Definition: no_sal2.h:174
#define _Out_writes_(s)
Definition: no_sal2.h:176
#define _In_
Definition: no_sal2.h:158
const char * STRSAFE_LPCSTR
Definition: ntstrsafe.h:52
char * STRSAFE_LPSTR
Definition: ntstrsafe.h:51
#define WINAPI
Definition: msvc.h:6