[HideModuleNameAttribute]
public sealed class Ole32
<HideModuleNameAttribute>
Public NotInheritable Class Ole32
Dim instance As Ole32
[HideModuleNameAttribute]
public ref class Ole32 sealed
[<SealedAttribute>]
[<HideModuleNameAttribute>]
type Ole32 = class end
No code example is currently available or this language may not be supported.
CLSIDFromProgID | Looks up a CLSID in the registry, given a ProgID. |
CLSIDFromProgIDEx | Looks up a CLSID in the registry, given a ProgID, and triggers automatic installation if the COMClassStore policy is enabled. This is analogous to the behavior of CoCreateInstance when neither CLSCTX_ENABLE_CODE_DOWNLOAD nor CLSCTX_NO_CODE_DOWNLOAD are specified. |
CoFreeUnusedLibraries | Unloads any DLLs that are no longer in use, probably because the DLL no longer has any instantiated COM objects outstanding. Note: This function is provided for compatibility with 16-bit Windows. |
CoFreeUnusedLibrariesEx | Unloads any DLLs that are no longer in use and whose unload delay has expired. |
CoGetCurrentProcess | Returns a value that is unique to the current thread. CoGetCurrentProcess can be used to avoid thread ID reuse problems. |
CoTaskMemFree | Frees a block of task memory previously allocated through a call to the CoTaskMemAlloc or CoTaskMemRealloc function. |
CoUninitialize | Closes the COM library on the current thread, unloads all DLLs loaded by the thread, frees any other resources that the thread maintains, and forces all RPC connections on the thread to close. |
CoWaitForMultipleHandles | Waits for specified handles to be signaled or for a specified timeout period to elapse. |
CreateBindCtx | Returns a pointer to an implementation of IBindCtx (a bind context object). This object stores information about a particular moniker-binding operation. |
CreateFileMoniker | Creates a file moniker based on the specified path. |
DllGetClassObject | Retrieves the class object from a DLL object handler or object application. OLE does not provide this function. DLLs that support the OLE Component Object Model (COM) must implement DllGetClassObject in OLE object handlers or DLL applications. |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode | Serves as the default hash function. (Inherited from Object) |
GetRunningObjectTable | Returns a pointer to the IRunningObjectTable interface on the local running object table (ROT). |
GetType | Gets the Type of the current instance. (Inherited from Object) |
OleInitialize | Initializes the COM library on the current apartment, identifies the concurrency model as single-thread apartment (STA), and enables additional functionality. Applications must initialize the COM library before they can call COM library functions other than CoGetMalloc and memory allocation functions. |
OleUninitialize | Closes the COM library on the apartment, releases any class factories, other COM objects, or servers held by the apartment, disables RPC on the apartment, and frees any resources the apartment maintains. |
ProgIDFromCLSID | Retrieves the ProgID for a given CLSID. |
RevokeDragDrop | Revokes the registration of the specified application window as a potential target for OLE drag-and-drop operations. |
ToString | Returns a string that represents the current object. (Inherited from Object) |
CanConvertTo |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
CanConvertToT |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
ConvertToT |
Converts an object to the specified target type.
If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions) |
ConvertToT |
Converts an object to the specified target type.
If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions) |
IsDisposable |
Determines whether the specified object is a disposable type
(i.e., it implements IDisposable interface).
(Defined by ObjectExtensions) |
Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
ThrowIfNullTException |
Throws the specified exception if the source object is null.
(Defined by ObjectExtensions) |