olectl.h header

This header is used by multiple technologies. For more information, see:

olectl.h contains the following programming interfaces:

Functions

 
DllRegisterServer

Instructs an in-process server to create its registry entries for all classes supported in this server module.
DllUnregisterServer

Instructs an in-process server to remove only those entries created through DllRegisterServer.
OleCreateFontIndirect

Creates and initializes a standard font object using an initial description of the font's properties in a FONTDESC structure.
OleCreatePictureIndirect

Creates a new picture object initialized according to a PICTDESC structure.
OleCreatePropertyFrame

Invokes a new property frame, that is, a property sheet dialog box, whose parent is hwndOwner, where the dialog is positioned at the point (x,y) in the parent window and has the caption lpszCaption.
OleCreatePropertyFrameIndirect

Creates a property frame, that is, a property sheet dialog box, based on a structure (OCPFIPARAMS) that contains the parameters, rather than specifying separate parameters as when calling OleCreatePropertyFrame.
OleIconToCursor

Converts an icon to a cursor.
OleLoadPicture

Creates a new picture object and initializes it from the contents of a stream. This is equivalent to calling OleCreatePictureIndirect with NULL as the first parameter, followed by a call to IPersistStream::Load. (OleLoadPicture)
OleLoadPictureEx

Creates a new picture object and initializes it from the contents of a stream. This is equivalent to calling OleCreatePictureIndirect with NULL as the first parameter, followed by a call to IPersistStream::Load. (OleLoadPictureEx)
OleLoadPictureFile

Creates an IPictureDisp object from a picture file on disk.
OleLoadPictureFileEx

Loads a picture from a file.
OleLoadPicturePath

Creates a new picture object and initializes it from the contents of a stream. This is equivalent to calling OleCreatePictureIndirect(NULL, ...) followed by IPersistStream::Load.
OleSavePictureFile

Saves a picture to a file.
OleTranslateColor

Converts an OLE_COLOR type to a COLORREF.

Structures

 
FONTDESC

Contains parameters used to create a font object through the OleCreateFontIndirect function.
OCPFIPARAMS

Contains parameters used to invoke a property sheet dialog box through the OleCreatePropertyFrameIndirect function.
PICTDESC

Contains parameters to create a picture object through the OleCreatePictureIndirect function.