NPSCopyString


DWORD NPSCopyString(
  LPCTSTR lpSourceString,
  LPVOID lpDestBuffer,
  LPDWORD lpBufferSize
  );

lpSourceString

Pointer to the string to copy into the destination buffer, or NULL if the NP has no string to copy.

lpDestBuffer

The destination buffer to copy the string.

lpBufferSize

The size of the destination buffer.

WN_BAD_POINTER

lpBufferSize is not a valid pointer to a valid buffer size.

WN_MORE_DATA

The lpDestBuffer buffer is too small. lpBufferSize is returned with the required buffer size.