pSecurityContainer: This parameter is a pointer to a SECURITY_CONTAINER (section structure that specifies security information and components. The created printer MUST allow security access based on this information.<245>

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

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

  • Verify that the pSecurity member of the SECURITY_CONTAINER structure is NULL, or that it points to a well-formed SECURITY_DESCRIPTOR in self-relative form ([MS-DTYP] section 2.4.6).

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