FaxMan SDK Version 4.7
FaxCopy

PSEND_FAX FaxCopy(PSEND_FAX pFaxStruct)

 

Creates a Globally allocated "deep" copy of a pSend_Fax structure

 

Parameter

Type/Description

pFaxStruct

PSEND_FAX The send fax structure to copy

 

Return Value

A pointer to a globally allocated copy the original pSend_Fax structure.

 

Comments

The function globally allocates a block of memory for the new SEND_FAX structure and copies the the original structure into it. This "deep" copy, copies all of the associated strings in the structure into the memory block, including those which are not normally needed or available.

 

NOTE

You MUST call GlobalFreePtr() macro defined in "windowsx.h" when you finish with this structure to free the memory that was allocated by the function call.

 

 


© 2013 Data Techniques, Inc. All Rights Reserved.

Send comments on this topic.