Exporteren (0) Afdrukken
Alles uitvouwen
EN
Deze inhoud is niet beschikbaar in uw taal, maar wel in het Engels.

IBackgroundCopyJob2::GetNotifyCmdLine method

Retrieves the program to execute when the job enters the error or transferred state.

Syntax


HRESULT GetNotifyCmdLine(
  [out]  LPWSTR *pProgram,
  [out]  LPWSTR *pParameters
);

Parameters

pProgram [out]

Null-terminated string that contains the program to execute when the job enters the error or transferred state. Call the CoTaskMemFree function to free pProgram when done.

pParameters [out]

Null-terminated string that contains the arguments of the program in pProgram. Call the CoTaskMemFree function to free pParameters when done.

Return value

This method returns S_OK on success or one of the standard COM HRESULT values on error.

Remarks

The GetNotifyCmdLine method sets pProgram and pParameters to an empty string (L"") if the IBackgroundCopyJob2::SetNotifyCmdLine method has not been called.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Redistributable

BITS 1.5 on Windows XP

Header

Bits1_5.h (include Bits.h)

IDL

Bits1_5.idl

Library

Bits.lib

DLL

BitsPrx2.dll

IID

IID_IBackgroundCopyJob2 is defined as 54B50739-686F-45EB-9DFF-D6A9A0FAA9AF

See also

IBackgroundCopyJob2::SetNotifyCmdLine

 

 

Community-inhoud

Toevoegen
Weergeven:
© 2014 Microsoft