Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

SHCreateQueryCancelAutoPlayMoniker function

[This function is deprecated. Use CreateClassMoniker instead. Note that the CLSID used in the call to CreateClassMoniker must be application-defined. Do not call CreateClassMoniker with a system-defined CLSID.]

Deprecated. Creates a QueryCancelAutoPlay class moniker, which can then be used to register the IQueryCancelAutoPlay handler in the running object table (ROT).

Syntax


HRESULT SHCreateQueryCancelAutoPlayMoniker(
  _Out_  IMoniker **ppmoniker
);

Parameters

ppmoniker [out]

Type: IMoniker**

The address of a IMoniker interface pointer that, when this function returns successfully, receives the QueryCancelAutoPlay class moniker. If this function call fails, this value is NULL.

Return value

Type: HRESULT

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

If successful, SHCreateQueryCancelAutoPlayMoniker calls the interface's AddRef method and increments the reference count. When you are finished, call the interface's Release method to release.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Shlobj.h

Library

Shell32.lib

DLL

Shell32.dll (version 6.0 or later)

See also

CreateClassMoniker

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.