IPrinterExtensionEventArgs::get_SourceApplication method (printerextension.h)

Gets the name of the application that invoked the printer extension.

This property is read-only.

Syntax

HRESULT get_SourceApplication(
  BSTR *pbstrApplication
);

Parameters

pbstrApplication

Defines the BSTR parameter pbstrApplication.

Return value

Returns an HRESULT value. If the property call was not successful, it returns the appropriate HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Windows
Header printerextension.h

See also

IPrinterExtensionEventArgs