3.1.4.1.8.7 SECURITY_CONTAINER Parameters

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

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.