Partager via


COleObjectFactory::UpdateRegistryAll

Registers all of the application's object factories with the OLE system registry.

static BOOL PASCAL UpdateRegistryAll( 
   BOOL bRegister = TRUE 
);

Parameters

  • bRegister
    Determines whether the control class's object factory is to be registered.

Return Value

Nonzero if the factories are successfully updated; otherwise 0.

Remarks

This function is usually called by CWinApp::InitInstance when the application is launched.

Requirements

Header: afxdisp.h

See Also

Reference

COleObjectFactory Class

Hierarchy Chart

COleObjectFactory::Revoke

COleObjectFactory::Register

COleObjectFactory::UpdateRegistry

CWinApp::InitInstance