🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.ms-windows.programmer.tools.owl
1 messages
1 total messages Started by Finn Aasheim Fri, 20 Feb 1998 00:00
TPrintDC::DeviceCapabilities and paper bin-names
#62
Author: Finn Aasheim
Date: Fri, 20 Feb 1998 00:00
21 lines
1350 bytes
My problem is getting paper bin names from DeviceCapabilities with
DC_BINNAMES. How exactly should the output structure look??

I've tried chars, arrays of chars, pointer arrays of chars and this
structure (loosely mentioned in the help file) :

struct MyBinData {
    short BinList[cBinMax];
    char PaperNames[cBinMax][cchBinName];
};

But nothing seems to work.  Either i get only the first paperbin, and then
only garbage, or even weirder (with pointer arrays i think t'was): I get the
whole first binname, then the second name, minus the first character
(nvelope) and then less and less until I get empty strings.

Does anyone sit on information that could help me with this, or know of some
other method for aquiring bin names???

Finn Aasheim, Norway.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads