다음을 통해 공유


CComControlBase::GetAmbientCodePage

Retrieves DISPID_AMBIENT_CODEPAGE, the ambient code page for all controls, defined by the container.

HRESULT GetAmbientCodePage(
   ULONG& ulCodePage 
);

Parameters

  • ulCodePage
    The property DISPID_AMBIENT_CODEPAGE.

Return Value

Returns S_OK on success, or an error HRESULT on failure.

Requirements

Header: atlctl.h

See Also

Concepts

CComControlBase Class

CComControlBase Members

CComControlBase Members