3.1.4.1.8.2 DOC_INFO_CONTAINER Parameters

pDocInfoContainer: This parameter is a pointer to a DOC_INFO_CONTAINER (section 2.2.1.2.2) structure that specifies the document to print.

The individual method sections include the following parameter validation steps by reference:

  • If the pDocInfoContainer parameter is declared with the "unique" IDL attribute, and its value is NULL, skip the validation steps and assume validation success.

  • If the pDocInfoContainer parameter is not declared with the "unique" IDL attribute, the server MAY verify that its value is not NULL.<258>

  • Verify that the value of the Level member in the DOC_INFO_CONTAINER is 0x00000001.

  • Verify that the pDocInfo1 pointer in the DOC_INFO_CONTAINER is not NULL.

  • Verify that all members of the structure that is pointed to by the pDocInfo1 pointer in the DOC_INFO_CONTAINER comply with the constraints defined in section 2.2.1.2.2.

Unless noted otherwise, if any of the preceding validation steps fail, return ERROR_INVALID_PARAMETER.