AfxRegisterPreviewHandler

 

A helper to register a preview handler.

Syntax

BOOL AFXAPI AfxRegisterPreviewHandler(LPCTSTR lpszCLSID, LPCTSTR lpszShortTypeName, LPCTSTR lpszFilterExt);

Parameters

  • lpszCLSID
    Specifies the CLSID of handler.

  • lpszShortTypeName
    Specifies the ProgID of handler.

  • lpszFilterExt
    Specifies the file extension registered with this handler.

Return Value

Remarks

Requirements

Header: afxdisp.h

See Also

MFC Macros and Globals