13.07.2015 Views

REFERENCE GUIDE

REFERENCE GUIDE

REFERENCE GUIDE

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

RegisterClipboardFormatRegisterClipboardFormatSyntaxWORD RegisterClipboardFormatOpFormatName)function RegisterClipboardFormat(FormatName: PChar): Word;This function registers a new clipboard format whose name is pointed toby the IpFormatName parameter. The registered format can be used insubsequent clipboard functions as a valid format in which to render data,and it will appear in the clipboard's list of formats.Parameters IpFormatName LPSTR Points to a character string that names the newformat. The string must be a null-terminated characterstring.Return valueCommentsThe return value specifies the newly registered format. If the identicalformat name has been registered before, even by a different application,the format's reference count is increased and the same value is returned aswhen the format was originally registered. The return value is zero if theformat cannot be registered.The format value returned by the RegisterClipboardFormat function iswithin the range of OxCOOO to OxFFFF.RegisterWindowMessageSyntaxWORD RegisterWindowMessageOpString)function RegisterWindowMessage(Str: PChar): Word;This function defines a new window message that is guaranteed to beunique throughout the system. The returned message value can be usedwhen calling the Send Message or Post Message function.RegisterWindowMessage is typically used for communication betweentwo cooperating applications.If the same message string is registered by two different applications, thesame message value is returned. The message remains registered until theuser ends the Windows session.Parameters IpString LPSTR Points to the message string to be registered.Return valueThe return value specifies the outcome of the function. It is an unsignedshort integer within the range OxCOOO to OxFFFF if the message issuccessfully registered. Otherwise, it is zero.468 Software development kit

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!