Retrieves text from the clipboard and copies it to a buffer.
function GetTextBuf(Buffer: PChar; BufSize: Integer): Integer;
__fastcall int GetTextBuf(const char * Buffer, int BufSize);
Use GetTextBuf to retrieve text from the clipboard and copy it into the buffer pointed to by Buffer. GetTextBuf copies up to the number of characters given by BufSize and returns the number of characters copied. The resulting text in Buffer is a null-terminated string.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!