Reference

DuplicateString(3w)

NAME

DuplicateString (SETUPAPI.@)

SYNOPSIS

LPWSTR DuplicateString
(
LPCWSTR lpSrc
)

DESCRIPTION

Duplicates a unicode string.

PARAMS

lpSrc [In] pointer to the unicode string that will be duplicated.

RETURNS

Success: pointer to the duplicated unicode string

Failure: NULL.

NOTES

Call MyFree(3w) to release the duplicated string.

IMPLEMENTATION

Declared in "setupapi.h".

Implemented in "dlls/setupapi/misc.c".

Debug channel "setupapi".

History