Share via


UnRegisterLaunchApplication method

The IStillImage::UnRegisterLaunchApplication method removes the application from the Event Monitor's list of applications that use the push model. Once this method has run, the application no longer receives device events.

Syntax

HRESULT UnRegisterLaunchApplication(
  [in] PSTI   pSti,
  [in] LPWSTR pwszAppName
);

Parameters

pSti [in]

Pointer to the IStillImage interface object.

pwszAppName [in]

The name that the application used when it registered itself using RegisterLaunchApplication.

Return value

If the method succeeds, the return value is S_OK.

If the method fails, the return value is the appropriate COM error.

Requirements

Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Sti.h
Library
Sti.lib
DLL
Sti.dll

See also

About Still Image

Making an Application Still Image-Aware