Редактиране

Споделяне чрез


IRegistrar Interface

This interface is defined in atliface.h and is used internally by CAtlModule member functions such as UpdateRegistryFromResourceD.

Syntax

typedef interface IRegistrar IRegistrar;

Remarks

See the topic Using Replaceable Parameters (The Registrar's Preprocessor) for more details.

Members

Public Methods

Name Description
IRegistrar::ResourceRegisterSz Registers the resource.
IRegistrar::ResourceUnregisterSz Unregisters the resource.
IRegistrar::FileRegister Registers the file.
IRegistrar::FileUnregister Unregisters the file.
IRegistrar::StringRegister Registers the string.
IRegistrar::StringUnregister Unregisters the string
IRegistrar::ResourceRegister Registers the resource.
IRegistrar::ResourceUnregister Unregisters the resource.

Requirements

Header: atlifase.h

IRegistrar::ResourceRegisterSz

Registers the resource.

virtual HRESULT STDMETHODCALLTYPE ResourceRegisterSz(
    /* [in] */ _In_z_ LPCOLESTR resFileName,
    /* [in] */ _In_z_ LPCOLESTR szID,
    /* [in] */ _In_z_ LPCOLESTR szType) = 0;

IRegistrar::ResourceUnregisterSz

Unregisters the resource.

virtual HRESULT STDMETHODCALLTYPE ResourceUnregisterSz(
    /* [in] */ _In_z_ LPCOLESTR resFileName,
    /* [in] */ _In_z_ LPCOLESTR szID,
    /* [in] */ _In_z_ LPCOLESTR szType) = 0;

IRegistrar::FileRegister

Registers the file.

virtual HRESULT STDMETHODCALLTYPE FileRegister(
    /* [in] */ _In_z_ LPCOLESTR fileName) = 0;

IRegistrar::FileUnregister

Unregisters the file.

virtual HRESULT STDMETHODCALLTYPE FileUnregister(
    /* [in] */ _In_z_ LPCOLESTR fileName) = 0;

IRegistrar::StringRegister

Registers the specified string data.

virtual HRESULT STDMETHODCALLTYPE StringRegister(
    /* [in] */ _In_z_ LPCOLESTR data) = 0;

IRegistrar::StringUnregister

Unregisters the specified string data.

virtualHRESULT STDMETHODCALLTYPE StringUnregister(
    /* [in] */ _In_z_ LPCOLESTR data) = 0;

IRegistrar::ResourceRegister

Registers the resource.

virtual HRESULT STDMETHODCALLTYPE ResourceRegister(
    /* [in] */ _In_z_ LPCOLESTR resFileName,
    /* [in] */ _In_ UINT nID,
    /* [in] */ _In_z_ LPCOLESTR szType) = 0;

IRegistrar::ResourceUnregister

Unregisters the resource.

virtualHRESULT STDMETHODCALLTYPE ResourceUnregister(
    /* [in] */ _In_z_ LPCOLESTR resFileName,
    /* [in] */ _In_ UINT nID,
    /* [in] */ _In_z_ LPCOLESTR szType) = 0;

See also

Using Replaceable Parameters (The Registrar's Preprocessor)
Class Overview
Module Classes
Registry Component (Registrar)