ATL Functions Alphabetical Reference
In this section, reference topics for the ATL global functions are organized alphabetically. To find a particular function by category, see ATL Functions.
Function |
Description |
---|---|
Creates a connection between an object's connection point and a client's sink. |
|
Call this function to advise or unadvise all entries in the object's sink event map. |
|
Attaches a previously created control to the specified window. |
|
Creates an ActiveX control, initializes it, and hosts it in the specified window. An interface pointer and event sink for the new control can also be created. |
|
Creates a licensed ActiveX control, initializes it, and hosts it in the specified window. An interface pointer and event sink for the new control can also be created. |
|
Creates a licensed ActiveX control, initializes it, and hosts it in the specified window. |
|
Creates an ActiveX control, initializes it, and hosts it in the specified window. |
|
Creates a modeless dialog box from a dialog template provided by the user. |
|
Creates a modal dialog box from a dialog template provided by the user. |
|
Obtains a direct interface pointer to the control contained inside a specified window given its handle. |
|
Obtains a direct interface pointer to the container for a specified window (if any), given its handle. |
|
This function initializes ATL's control hosting code by registering the "AtlAxWin80" and "AtlAxWinLic80" window classes plus a couple of custom window messages. |
|
This function uninitializes ATL's control hosting code by unregistering the "AtlAxWin80" and "AtlAxWinLic80" window classes. |
|
Call this function to canonicalize a URL, which includes converting unsafe characters and spaces into escape sequences. |
|
Call this function to combine a base URL and a relative URL into a single, canonical URL. |
|
This function is called to return the class factory. |
|
This function is called to register class objects. |
|
This function is called to register every object in the object map. |
|
This function is called to remove the class factory/factories from the Running Object Table. |
|
This function is called to unregister every object in the object map. |
|
Assigns an interface pointer to another interface pointer of the same type. |
|
Assigns an interface pointer to another interface pointer of a different type. |
|
Creates a device context for the device specified in the DVTARGETDEVICE structure. |
|
Call this function to convert all unsafe characters to escape sequences. |
|
Releases the marshal data in the stream, then releases the stream pointer. |
|
Call this function to retrieve the discretionary access-control list (DACL) information of a specified object. |
|
Call this function to get the default port number associated with a particular Internet protocol or scheme. |
|
Call this function to retrieve the group security identifier (SID) of an object. |
|
Call this function to get the numeric value of a hexadecimal digit. |
|
Call this function to retrieve information about the default source interface of an object. |
|
Call this function to retrieve the owner security identifier (SID) of an object. |
|
Use this function to determine whether the application redirects registry access to the HKEY_CURRENT_USER (HKCU) node. |
|
Call this function to retrieve the system access-control list (SACL) information of a specified object. |
|
Call this function to retrieve the security descriptor of a given object. |
|
Decodes a string of data that has been encoded as hexadecimal text such as by a previous call to AtlHexEncode. |
|
Call this function to get the size in bytes of a buffer that could contain data decoded from a hex-encoded string of the specified length. |
|
Call this function to encode some data as a string of hexadecimal text. |
|
Call this function to get the size in characters of a buffer that could contain a string encoded from data of the specified size. |
|
Call this function to get the numeric value of a hexadecimal digit. |
|
Converts an object's size in HIMETRIC units (each unit is 0.01 millimeter) to a size in pixels on the screen device. |
|
Returns the calling thread's last-error code value in the form of an HRESULT. |
|
Converts a Win32 error code into an HRESULT. |
|
Retrieves a pointer to the requested interface. |
|
Call this function to find out whether a character is safe for use in a URL. |
|
This function is called to load a type library. |
|
Creates a new stream object, writes the CLSID of the proxy to the stream, and marshals the specified interface pointer by writing the data needed to initialize the proxy into the stream. |
|
Registers every object in the object map. |
|
Registers a type library. |
|
Unregisters every object in the object map. |
|
Unregisters every object in the object map. It is similar to AtlModuleUnregisterServerEx except that it cannot unregister the type library. |
|
Unregisters a type library. |
|
This function is an overloaded wrapper for PathAddBackslash. |
|
This function is an overloaded wrapper for PathAddExtension. |
|
This function is an overloaded wrapper for PathAppend. |
|
This function is an overloaded wrapper for PathBuildRoot. |
|
This function is an overloaded wrapper for PathCanonicalize. |
|
This function is an overloaded wrapper for PathCombine. |
|
This function is an overloaded wrapper for PathCommonPrefix. |
|
This function is an overloaded wrapper for PathCompactPath. |
|
This function is an overloaded wrapper for PathCompactPathEx. |
|
This function is an overloaded wrapper for PathFileExists. |
|
This function is an overloaded wrapper for PathFindExtension. |
|
This function is an overloaded wrapper for PathFindFileName. |
|
This function is an overloaded wrapper for PathGetDriveNumber. |
|
This function is an overloaded wrapper for PathIsDirectory. |
|
This function is an overloaded wrapper for PathIsFileSpec. |
|
This function is an overloaded wrapper for PathIsPrefix. |
|
This function is an overloaded wrapper for PathIsRelative. |
|
This function is an overloaded wrapper for PathIsRoot. |
|
This function is an overloaded wrapper for PathIsSameRoot. |
|
This function is an overloaded wrapper for PathIsUNC. |
|
This function is an overloaded wrapper for PathIsUNCServer. |
|
This function is an overloaded wrapper for PathIsUNCServerShare. |
|
This function is an overloaded wrapper for PathMakePretty. |
|
This function is an overloaded wrapper for PathMatchSpec. |
|
This function is an overloaded wrapper for PathQuoteSpaces. |
|
This function is an overloaded wrapper for PathRelativePathTo. |
|
This function is an overloaded wrapper for PathRemoveArgs. |
|
This function is an overloaded wrapper for PathRemoveBackslash. |
|
This function is an overloaded wrapper for PathRemoveBlanks. |
|
This function is an overloaded wrapper for PathRemoveExtension. |
|
This function is an overloaded wrapper for PathRemoveFileSpec. |
|
This function is an overloaded wrapper for PathRenameExtension. |
|
This function is an overloaded wrapper for PathSkipRoot. |
|
This function is an overloaded wrapper for PathStripPath. |
|
This function is an overloaded wrapper for PathStripToRoot. |
|
This function is an overloaded wrapper for PathUnquoteSpaces. |
|
Converts an object's size in pixels on the screen device to a size in HIMETRIC units (each unit is 0.01 millimeter). |
|
This function is called to register a type library. |
|
Sets up the IErrorInfo interface to provide error information to clients of the object. |
|
Call this function to set the site of the child object to the IUnknown of the parent object. |
|
Call this function to set the discretionary access-control list (DACL) information of a specified object. |
|
Call this function to set the group security identifier (SID) of an object. |
|
Call this function to set the owner security identifier (SID) of an object. |
|
Sets whether the application redirects registry access to the HKEY_CURRENT_USER (HKCU) node. |
|
Call this function to set the system access-control list (SACL) information of a specified object. |
|
Call this function to signal an error based on the result of the Windows function GetLastError. |
|
Call this function to signal an error based on a HRESULT status code. |
|
Terminates the connection established through AtlAdvise. |
|
Call this function to convert escaped characters back to their original values. |
|
Call this function to convert a Unicode string to UTF-8. |
|
Converts the stream's marshaling data into an interface pointer that can be used by the client. |
|
This function is called to unregister a type library. |
|
AtlUpdateRegistryFromResourceD <Removed> |
This function was deprecated in earlier releases and is removed in Visual Studio 2015. |
Waits for the object to be signaled, meanwhile dispatching window messages as needed. |
|
This function is used to initialize and add an _AtlCreateWndData structure. |
|
Call this function to extract an existing _AtlCreateWndData structure. |
|
Call this function to convert some data using the "B" encoding. |
|
Call this function to get the size in characters of a buffer that could contain a string encoded from data of the specified size. |
|
Call this function to convert characters that are unsafe for use in XML to their safe equivalents. |
|
Call this function to get the number of extended characters in a string. |
|
Call this function, for the special case of testing for IUnknown. |
|
Call this function to find out if a given character is an extended character (less than 32, greater than 126, and not a tab, linefeed or carriage return) |
|
Call this function to convert some data using the "Q" encoding. |
|
Call this function to get the size in characters of a buffer that could contain a string encoded from data of the specified size. |
|
Decodes a string of data that has been encoded in quoted-printable format such as by a previous call to QPEncode. |
|
Call this function to get the size in bytes of a buffer that could contain data decoded from quoted-printable-encoded string of the specified length. |
|
Call this function to encode some data in quoted-printable format. |
|
Call this function to get the size in characters of a buffer that could contain a string encoded from data of the specified size. |
|
This function is called to read from, or write to, the system registry. |
|
Converts a COLORREF value to the HTML text corresponding to that color value. |
|
Returns the DOMAIN_ALIAS_RID_ACCOUNT_OPS SID. |
|
Returns the DOMAIN_ALIAS_RID_ADMINS SID. |
|
Returns the SECURITY_ANONYMOUS_LOGON_RID SID. |
|
Returns the SECURITY_AUTHENTICATED_USER_RID SID. |
|
Returns the DOMAIN_ALIAS_RID_BACKUP_OPS SID. |
|
Returns the SECURITY_BATCH_RID SID. |
|
Returns the SECURITY_CREATOR_GROUP_SERVER_RID SID. |
|
Returns the SECURITY_CREATOR_GROUP_RID SID. |
|
Returns the SECURITY_CREATOR_OWNER_SERVER_RID SID. |
|
Returns the SECURITY_CREATOR_OWNER_RID SID. |
|
Returns the SECURITY_DIALUP_RID SID. |
|
Returns the DOMAIN_ALIAS_RID_GUESTS SID. |
|
Returns the SECURITY_INTERACTIVE_RID SID. |
|
Returns the SECURITY_LOCAL_RID SID. |
|
Returns the SECURITY_NETWORK_RID SID. |
|
Returns the SECURITY_NETWORK_SERVICE_RID SID. |
|
Returns the SECURITY_NULL_RID SID. |
|
Returns the DOMAIN_ALIAS_RID_POWER_USERS SID. |
|
Returns the DOMAIN_ALIAS_RID_PREW2KCOMPACCESS SID. |
|
Returns the DOMAIN_ALIAS_RID_PRINT_OPS SID. |
|
Returns the SECURITY_PROXY_RID SID. |
|
Returns the DOMAIN_ALIAS_RID_RAS_SERVERS SID. |
|
Returns the DOMAIN_ALIAS_RID_REPLICATOR SID. |
|
Returns the SECURITY_RESTRICTED_CODE_RID SID. |
|
Returns the SECURITY_PRINCIPAL_SELF_RID SID. |
|
Returns the SECURITY_SERVER_LOGON_RID SID. |
|
Returns the SECURITY_SERVICE_RID SID. |
|
Returns the DOMAIN_ALIAS_RID_SYSTEM_OPS SID. |
|
Returns the SECURITY_LOCAL_SYSTEM_RID SID. |
|
Returns the SECURITY_TERMINAL_SERVER_RID SID. |
|
Returns the DOMAIN_ALIAS_RID_USERS SID. |
|
Returns the SECURITY_WORLD_RID SID. |
|
Call this function to convert a system time to a string in a format suitable for using in HTTP headers. |
|
Decodes a string of data that has been uuencoded such as by a previous call to UUEncode. |
|
Call this function to get the size in bytes of a buffer that could contain data decoded from a uuencoded string of the specified length. |
|
Call this function to uuencode some data. |
|
Call this function to get the size in characters of a buffer that could contain a string encoded from data of the specified size. |