Reference

SysReAllocStringLen16(3w)

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

Declared in "ole2disp.h".

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

Debug channel "ole".

History