Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VFP6.0 StartDoc API call

Status
Not open for further replies.

jpcrest

Programmer
Mar 12, 2002
7
FR
Somebody can help me to use the StartDoc API cal ?
I success using the OpenPrinter and ClosePrinter calls, but I don't find how to use StartDoc. Can you give me a code sample for an api call with a pointer to a structure as parameter ??
!!!! How to declare the structure and fill it in VFP ? !!!!
In this case it is a DOCINFO structure

int StartDoc(
HDC hdc, // handle to device context
CONST DOCINFO *lpdi // address of structure with file names
);

Merci beaucoup !



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top