srv_bmove

Copies bytes from one memory location to another.


Important This Open Data Services function or macro is only supported in Microsoft® SQL Server™ version 7.0 for backward compatibility.


For more information about Open Data Services functions or macros supported for backward compatibility, see Open Data Services (Level 3).

Syntax

int srv_bmove (
void * from,
void * to,
DBINT count );

Arguments
from
Is a pointer to the source of the data to be copied.
to
Is a pointer to the destination of the data to be copied.
count
Is the number of bytes to copy from the source to the destination.
Returns

SUCCEED if the move was successful; otherwise, FAIL.

Remarks

The values for from and to must be valid nonnull pointers. Only count bytes are moved and no null terminator is added. The srv_bmove function is provided for backward compatibility with earlier versions of Open Data Services. It is equivalent to the memcpy function.

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.