SysReAllocStringLen16.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

SysReAllocStringLen16 (OLE2DISP.5)

SYNOPSIS

int SysReAllocStringLen16
 (
  BSTR16*     old,
  const char* in,
  int         len
 )

DESCRIPTION

Change the length of a previously created BSTR16 (16 Bit).

PARAMS

pbstr [In] BSTR16 to change the length of.

oleStr [In] New source for pbstr.

len [In] Length of oleStr in characters.

RETURNS

Success: 1. The size of pbstr is updated.

Failure: 0, if len >= 0x8000 or memory allocation fails.

NOTES

See SysAllocStringByteLen16(3w). *pbstr may be changed by this function.

IMPLEMENTATION

Defined in "ole2disp.h".

Implemented in "dlls/oleaut32/ole2disp.c".

Debug channel "ole".