question about SPOOL_Q_SETPRINTER

Gerald Carter gcarter at
Wed Mar 28 09:12:54 GMT 2001

In the following typedef from rpc_spoolss.h, why is the secdesc_ctr a
pointer and the devmode_ctr a struct?  This seems inconsistent to me.
Especially since, a SEC_DESC_BUF is required in the structure sent
to the print server (even in the case of a NULL security descriptor).

typedef struct spool_q_setprinter
        POLICY_HND handle;
        uint32 level;
        SEC_DESC_BUF *secdesc_ctr;
        DEVMODE_CTR devmode_ctr;
        uint32 command;


More information about the samba-technical mailing list