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.

CloseCommCloseCommSyntaxint CloseComm(nCid)function CloseComm(Cid: Integer): Integer;This function closes the communication device specified by the nCidparameter and frees any memory allocated for the device's transmit andreceive queues. All characters in the output queue are sent before thecommunication device is closed.Parameters nCid int Specifies the device to be closed. The OpenCommfunction returns this value.Return valueThe return value specifies the result of the function. It is zero if the deviceis closed. It is negative if an error occurred.CloseMetaFileSyntaxHANDLE CloseMetaFile(hDC)function CloseMetaFile(DC: THandle): THandle;This function closes the metafile device context and creates a metafilehandle that can be used to play the metafile by using the PlayMetaFilefunction.Parameters hDC HANDLE Identifies the metafile device context to beclosed.Return valueThe return value identifies the metafile if the function is successful.Otherwise, it is NULL.CloseSoundSyntaxParametersReturn valuevoid CloseSound()procedure CloseSound;This function closes access to the play device and frees the device foropening by other applications. The CloseSound function flushes all voicequeues and frees any buffers allocated for these queues.None.None.174 Software development kit

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

Saved successfully!

Ooh no, something went wrong!