Pepper_31_C_interfaces
Public Attributes | List of all members
PPB_Printing_Dev_0_7 Struct Reference

#include <ppb_printing_dev.h>

Collaboration diagram for PPB_Printing_Dev_0_7:
Collaboration graph

Public Attributes

PP_Resource(* Create )(PP_Instance instance)
 
int32_t(* GetDefaultPrintSettings )(PP_Resource resource, struct PP_PrintSettings_Dev *print_settings, struct PP_CompletionCallback callback)
 

Detailed Description

Definition at line 35 of file ppb_printing_dev.h.

Member Data Documentation

PP_Resource(* PPB_Printing_Dev_0_7::Create)(PP_Instance instance)

Create a resource for accessing printing functionality.

Parameters
[in]instanceA PP_Instance identifying one instance of a module.
Returns
A PP_Resource containing the printing resource if successful or 0 if it could not be created.

Definition at line 44 of file ppb_printing_dev.h.

int32_t(* PPB_Printing_Dev_0_7::GetDefaultPrintSettings)(PP_Resource resource, struct PP_PrintSettings_Dev *print_settings, struct PP_CompletionCallback callback)

Outputs the default print settings for the default printer into print_settings. The callback is called with PP_OK when the settings have been retrieved successfully.

Parameters
[in]resourceThe printing resource.
[in]callbackA CompletionCallback to be called when print_settings have been retrieved.
Returns
PP_OK_COMPLETIONPENDING if request for the default print settings was successful, another error code from pp_errors.h on failure.

Definition at line 58 of file ppb_printing_dev.h.


The documentation for this struct was generated from the following file: