Desktop Functions: Smart Device Functions:
|
Search Results for "RESOURCE" in [All]hidws2_322: WSACleanup setupapiSPOST_URL OEMSourceMediaLocation contains a universal resource locator (URL) specifying the Internet location from where the INF/driver files were retrieved. If OEMSourceMediaLocation is NULL, it is assumed that the default Code Download Manager location was used. When finished using the device information set, the application should free the resources used by calling SetupDiDestroyDeviceInfoList getuname6: GetUName If you want to obtain (localized) names of Unicode characters, instead calling this function you can also load strings from the same place the function loads them. On Windows 7 it means from file \System32\{Culture}\getuname.dll.mui. ({Culture} is name of culture you want to obtain localized resources for e.g. en-US). An advantage of this approach is that you can choose culture without need to switch current Windows language (Windows Ultimate edition only). Structures7: ACTCTX
public string lpResourceName;
Public lpResourceName As String
public string lpVerb; // either a string or MAKEINTRESOURCE(idOffset)
/// but it may not have access to network resources.
public IMAGE_DATA_DIRECTORY ResourceTable;
public IMAGE_DATA_DIRECTORY ResourceTable;
public IMAGE_DATA_DIRECTORY ResourceTable; 12: MENUITEMINFO 13: NETRESOURCE
public class NetResource
public ResourceScope dwScope;
public ResourceType dwType;
public ResourceDisplayType dwDisplayType;
public ResourceUsage dwUsage;
Public Class NetResource
Public dwScope As ResourceScope
Public dwType As ResourceType
Public dwDisplayType As ResourceDisplayType
Public dwUsage As ResourceUsage ResourceScope, ResourceType, ResourceDisplayType, ResourceUsage 14: OpenFileName
''' The name of the dialog template resource in the module identified by the hInstance member.
/// Clean up any resources being used. 16: VS_VERSIONINFO
/// The type of data in the version resource.
/// This member is 1 if the version resource contains text data and 0 if the version resource contains binary data.
'' The type of data in the version resource.
'' This member is 1 if the version resource contains text data and 0 if the version resource contains binary data. 17: WNDCLASS
18: WNDCLASSEX
winscard19: SCardConnect 21: SCardFreeMemory
/// <param name="hContext">A handle that identifies the resource manager context. The resource manager context is set by a previous call to the SCardEstablishContext function.</param> netapi32
if (!LookupAccountName(this.ResourceName, this.UserName, Sid, ref cbSid, referencedDomainName, ref cchReferencedDomainName, out sidUse))
if (!LookupAccountName(this.ResourceName, this.UserName, Sid, ref cbSid, referencedDomainName, ref cchReferencedDomainName, out sidUse))
aSystemName.SetTo(this.ResourceName); 25: NetFileClose
If MsgBox("Are you sure you want to disconnect this resource?", MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then 26: NetSessionEnum
/// Unable to contact resource. Connection timed out. 27: NetShareGetInfo The NetShareGetInfo function retrieves information about a particular shared resource on a server.
const int NERR_NetNameNotFound = 2310; // This shared resource does not exist. 28: NetUseAdd You can also use the WNetAddConnection2 and WNetAddConnection3 functions to redirect a local device to a network resource. Connections added by NetUseAdd are not shown in the Explorer. You should use one of the WNetAddConnection methods to make the networkdrive visible in the explorer. 29: NetUseDel 30: NetUseEnum Interfaces
void OnLowResource([In] uint reserved);
BINDSTATUS_FINDINGRESOURCE = 1
INET_E_RESOURCE_NOT_FOUND = 0x800C0005,
/// Dispose and free used resources
public void OnLowResource( uint reserved )
case HRESULTS.INET_E_RESOURCE_NOT_FOUND:
Description = "Resource Not Found.";break;
/// Gets the set of properties of the manifest resource with the specified metadata signature.
/// <param name="mdmr">[in] An <c>mdManifestResource</c> token that represents the resource for which to get the properties. </param>
/// <param name="ptkImplementation">[out] A pointer to an <c>mdFile</c> token or an mdAssemblyRef token that represents the file or assembly, respectively, that contains the resource. </param>
/// <param name="pdwOffset">[out] A pointer to a value that specifies the offset to the beginning of the resource within the file.</param>
/// <param name="pdwResourceFlags">[out] A pointer to flags that describe the metadata applied to a resource. The flags value is a combination of one or more <c>CorManifestResourceFlags</c> values.</param>
/// STDMETHOD(GetManifestResourceProps)( // S_OK or error.
/// mdManifestResource mdmr, // [IN] The ManifestResource for which to get the properties.
/// mdToken *ptkImplementation, // [OUT] mdFile or mdAssemblyRef that provides the ManifestResource.
/// DWORD *pdwOffset, // [OUT] Offset to the beginning of the resource within the file.
/// DWORD *pdwResourceFlags) PURE;// [OUT] Flags.
void GetManifestResourceProps(
[Out] out CorManifestResourceFlags pdwResourceFlags);
/// Gets a pointer to an enumerator for the resources referenced in the current assembly manifest.
/// <param name="phEnum">[in, out] A pointer to the enumerator. This must be a null value when the <c>EnumManifestResources</c> method is called for the first time.</param>
/// <param name="rManifestResources">[out] The array used to store the <c>mdManifestResource</c> metadata tokens.</param>
/// <param name="cMax">[in] The maximum number of <c>mdManifestResource</c> tokens that can be placed in <c>rManifestResources</c>.</param>
/// <param name="pcTokens">[out] The number of <c>mdManifestResource</c> tokens actually placed in <c>rManifestResources</c>.</param>
/// STDMETHOD(EnumManifestResources)( // S_OK or error
/// mdManifestResource rManifestResources[], // [OUT] Put ManifestResources here.
/// ULONG cMax, // [IN] Max Resources to put.
void EnumManifestResources(
[Out, MarshalAs(UnmanagedType.LPArray)] uint[] rManifestResources,
/// Gets a pointer to the manifest resource with the specified name.
/// <param name="szName">[in] The name of the resource.</param>
/// <param name="ptkManifestResource">[out] The array used to store the <c>mdManifestResource</c> metadata tokens, each of which represents a manifest resource.</param>
/// STDMETHOD(FindManifestResourceByName)( // S_OK or error
/// LPCWSTR szName, // [IN] Name of the ManifestResource.
/// mdManifestResource *ptkManifestResource) PURE; // [OUT] Put the ManifestResource token here.
void FindManifestResourceByName(
[Out] out uint ptkManifestResource);
ffContainsMetaData = 0x0000, // This is not a resource file
ffContainsNoMetaData = 0x0001, // This is a resource file or other non-metadata-containing file
public enum CorManifestResourceFlags : uint {
mrPublic = 0x0001, // The Resource is exported from the Assembly.
mrPrivate = 0x0002, // The Resource is private to the Assembly. 33: IProgressDialog
/// <param name="hInstAnimation">An instance handle to the module from which the AVI resource should be loaded.</param>
/// <param name="idAnimation">An AVI resource identifier. To create this value, use the MAKEINTRESOURCE macro. The control loads the AVI resource from the module specified by hInstAnimation.</param> 34: IUIFramework
HRESULT LoadUI(IntPtr instance, [MarshalAs(UnmanagedType.LPWStr)] string resourceName); gdiplus35: GdiplusShutdown coredll36: CreateEvent
''' Releases all resources held by the current WaitEvent. So the device ID is a very useful thing for software that wants to target just your device, e.g. copy protection, or to provide immutable identity to web service calls. Equally so it’s a resource that should be protected to mitigate the risk of identity theft. 38: LoadIcon 39: NOTIFYICONDATA
// Obtains the app icon (the resource number is fixed for all apps) for the current 40: PlaySound
SND_RESOURCE = &H40004 ' name is resource name or atom
SND_RESOURCE = 0x40004, // name is resource name or atom
SND_RESOURCE = 0x40004, // name is resource name or atom
SND_RESOURCE = &H40004 ' name is resource name or atom 41: RegCreateKeyEx The .NET Compact Framework does not contain a HandleRef type, so it may be necessary to call [GC.KeepAlive] after calling this function if the calling class wraps the hKey parameter as an unmanaged resource. 42: RegDeleteKey The .NET Compact Framework does not contain a HandleRef type, so it may be necessary to call [GC.KeepAlive] after calling this function if the calling class wraps the hKey parameter as an unmanaged resource. 43: RegDeleteValue The .NET Compact Framework does not contain a HandleRef type, so it may be necessary to call [GC.KeepAlive] after calling this function if the calling class wraps the hKey parameter as an unmanaged resource. 44: RegFlushKey The .NET Compact Framework does not contain a HandleRef type, so it may be necessary to call [GC.KeepAlive] after calling this function if the calling class wraps the hKey parameter as an unmanaged resource. 45: RegOpenKeyEx The .NET Compact Framework does not contain a HandleRef type, so it may be necessary to call [GC.KeepAlive] after calling this function if the calling class wraps the hKey parameter as an unmanaged resource. 46: RegQueryInfoKey The .NET Compact Framework does not contain a HandleRef type, so it may be necessary to call [GC.KeepAlive] after calling this function if the calling class wraps the hKey parameter as an unmanaged resource. wininet47: FtpGetFile
throw new InvalidOperationException(Resources.FTPClient_NoFTPSiteSpecified);
throw new InvalidOperationException(Resources.FTPClient_HDSourceFileDoesNotExist); 48: InternetConnect To close the handle returned from InternetConnect, the application should call InternetCloseHandle. This function disconnects the client from the server and frees all resources associated with the connection. uxtheme
SetSystemVisualStyle(@"C:\WINDOWS\resources\Themes\Luna\Luna.msstyles", "Metallic", "NormalSize", 0);
SetSystemVisualStyle("C:\WINDOWS\resources\Themes\Luna\Luna.msstyles", "Metallic", "NormalSize", 0) Enums50: BrowseInfoFlags
/// The browse dialog box can display shareable resources on remote systems.
''' The browse dialog box can display shareable resources on remote systems. 51: CSIDL
CSIDL_RESOURCES = 0x0038,
CSIDL_RESOURCES_LOCALIZED = 0x0039,
CSIDL_RESOURCES = &H38
CSIDL_RESOURCES_LOCALIZED = &H39 52: DELTA_FLAG_TYPE
/** Transform resources of source PE. */
DELTA_FLAG_RESOURCES = (0x00000010), /* flags[ 4 ] */ 53: HRESULT
///Could not allocate some required resource (memory, events, ...)
[Description("Could not allocate some required resource (memory, events, ...)")]
public const int RPC_E_OUT_OF_RESOURCES = unchecked((int)0x80010101);
///There are insufficient resources to open another file.
[Description("There are insufficient resources to open another file.")]
///Another single phase resource manager has already been enlisted in this transaction.
[Description("Another single phase resource manager has already been enlisted in this transaction.")]
///Instead of committing, the resource heuristically aborted.
[Description("Instead of committing, the resource heuristically aborted.")]
///Instead of aborting, the resource heuristically committed.
[Description("Instead of aborting, the resource heuristically committed.")]
///Some of the states of the resource were committed while others were aborted, likely because of heuristic decisions.
[Description("Some of the states of the resource were committed while others were aborted, likely because of heuristic decisions.")]
///Some of the states of the resource may have been committed while others may have been aborted, likely because of heuristic decisions.
[Description("Some of the states of the resource may have been committed while others may have been aborted, likely because of heuristic decisions.")]
///There is no resource presently associated with this enlistment
[Description("There is no resource presently associated with this enlistment")]
public const int XACT_E_NORESOURCE = unchecked((int)0x8004D00C);
///The transaction failed to commit due to the failure of optimistic concurrency control in at least one of the resource managers.
[Description("The transaction failed to commit due to the failure of optimistic concurrency control in at least one of the resource managers.")]
///The resource manager id is not associated with this transaction or the transaction manager.
[Description("The resource manager id is not associated with this transaction or the transaction manager.")]
///The indicated unit of work does not match the unit of work expected by the resource manager.
[Description("The indicated unit of work does not match the unit of work expected by the resource manager.")]
///The transaction status is in doubt. A communication failure occurred, or a transaction manager or resource manager has failed
[Description("The transaction status is in doubt. A communication failure occurred, or a transaction manager or resource manager has failed")]
///Resource manager reenlistment to determine transaction status timed out.
[Description("Resource manager reenlistment to determine transaction status timed out.")]
///The transaction was successfully aborted. However, this is a coordinated transaction, and some number of enlisted resources were aborted outright because they could not support abort-retaining semantics
[Description("The transaction was successfully aborted. However, this is a coordinated transaction, and some number of enlisted resources were aborted outright because they could not support abort-retaining semantics")]
///The sink is content and wishes the transaction to proceed. Changes were made to one or more resources during this call.
[Description("The sink is content and wishes the transaction to proceed. Changes were made to one or more resources during this call.")]
///The resource manager has performed a single-phase commit of the transaction.
[Description("The resource manager has performed a single-phase commit of the transaction.")]
///The resource manager has requested to be the coordinator (last resource manager) for the transaction.
[Description("The resource manager has requested to be the coordinator (last resource manager) for the transaction.")]
public const int XACT_S_LASTRESOURCEMANAGER = unchecked((int)0x0004D010);
///OSS ASN.1 Error: System resource error.
[Description("OSS ASN.1 Error: System resource error.")]
///The Smart card resource manager is not running.
[Description("The Smart card resource manager is not running.")]
///The Smart card resource manager has shut down.
[Description("The Smart card resource manager has shut down.")]
///The Smart card resource manager is too busy to complete this operation.
[Description("The Smart card resource manager is too busy to complete this operation.")]
///Cannot create a duplicate resource of type Distributed Transaction Coordinator
[Description("Cannot create a duplicate resource of type Distributed Transaction Coordinator")]
public const int MSDTC_E_DUPLICATE_RESOURCE = unchecked((int)0x80110701);
'''Could not allocate some required resource (memory, events, ...)
<Description("Could not allocate some required resource (memory, events, ...)")> _
Public Const RPC_E_OUT_OF_RESOURCES As Integer = CInt(&H80010101UI)
'''There are insufficient resources to open another file.
<Description("There are insufficient resources to open another file.")> _
'''Another single phase resource manager has already been enlisted in this transaction.
<Description("Another single phase resource manager has already been enlisted in this transaction.")> _
'''Instead of committing, the resource heuristically aborted.
<Description("Instead of committing, the resource heuristically aborted.")> _
'''Instead of aborting, the resource heuristically committed.
<Description("Instead of aborting, the resource heuristically committed.")> _
'''Some of the states of the resource were committed while others were aborted, likely because of heuristic decisions.
<Description("Some of the states of the resource were committed while others were aborted, likely because of heuristic decisions.")> _
'''Some of the states of the resource may have been committed while others may have been aborted, likely because of heuristic decisions.
<Description("Some of the states of the resource may have been committed while others may have been aborted, likely because of heuristic decisions.")> _
'''There is no resource presently associated with this enlistment
<Description("There is no resource presently associated with this enlistment")> _
Public Const XACT_E_NORESOURCE As Integer = CInt(&H8004d00cUI)
'''The transaction failed to commit due to the failure of optimistic concurrency control in at least one of the resource managers.
<Description("The transaction failed to commit due to the failure of optimistic concurrency control in at least one of the resource managers.")> _
'''The resource manager id is not associated with this transaction or the transaction manager.
<Description("The resource manager id is not associated with this transaction or the transaction manager.")> _
'''The indicated unit of work does not match the unit of work expected by the resource manager.
<Description("The indicated unit of work does not match the unit of work expected by the resource manager.")> _
'''The transaction status is in doubt. A communication failure occurred, or a transaction manager or resource manager has failed
<Description("The transaction status is in doubt. A communication failure occurred, or a transaction manager or resource manager has failed")> _
'''Resource manager reenlistment to determine transaction status timed out.
<Description("Resource manager reenlistment to determine transaction status timed out.")> _
'''The transaction was successfully aborted. However, this is a coordinated transaction, and some number of enlisted resources were aborted outright because they could not support abort-retaining semantics
<Description("The transaction was successfully aborted. However, this is a coordinated transaction, and some number of enlisted resources were aborted outright because they could not support abort-retaining semantics")> _
'''The sink is content and wishes the transaction to proceed. Changes were made to one or more resources during this call.
<Description("The sink is content and wishes the transaction to proceed. Changes were made to one or more resources during this call.")> _
'''The resource manager has performed a single-phase commit of the transaction.
<Description("The resource manager has performed a single-phase commit of the transaction.")> _
'''The resource manager has requested to be the coordinator (last resource manager) for the transaction.
<Description("The resource manager has requested to be the coordinator (last resource manager) for the transaction.")> _
Public Const XACT_S_LASTRESOURCEMANAGER As Integer = CInt(&H4d010)
'''OSS ASN.1 Error: System resource error.
<Description("OSS ASN.1 Error: System resource error.")> _
'''The Smart card resource manager is not running.
<Description("The Smart card resource manager is not running.")> _
'''The Smart card resource manager has shut down.
<Description("The Smart card resource manager has shut down.")> _
'''The Smart card resource manager is too busy to complete this operation.
<Description("The Smart card resource manager is too busy to complete this operation.")> _
'''Cannot create a duplicate resource of type Distributed Transaction Coordinator
<Description("Cannot create a duplicate resource of type Distributed Transaction Coordinator")> _
Public Const MSDTC_E_DUPLICATE_RESOURCE As Integer = CInt(&H80110701UI) 54: LoadLibraryFlags
LOAD_LIBRARY_AS_IMAGE_RESOURCE = 0x00000020,
LOAD_LIBRARY_AS_IMAGE_RESOURCE = &H20 55: NtStatus
ResourceDataNotFound = 0xc0000089,
ResourceTypeNotFound = 0xc000008a,
ResourceNameNotFound = 0xc000008b,
ResourceInUse = 0xc0000708, 56: RasError
/// <summary>641. The server cannot allocate NetBIOS resources needed to support the client. </summary>
ERROR_SERVER_OUT_OF_RESOURCES,
/// <summary>818. The Network Access Protection (NAP) enforcement client could not create system resources for remote access connections. Some network services or resources might not be available. </summary>
ERROR_RASQEC_RESOURCE_CREATION_FAILED,
/// <summary>819. The Network Access Protection Agent (NAP Agent) service has been disabled or is not installed on this computer. Some network services or resources might not be available. </summary>
/// <summary>820. The Network Access Protection (NAP) enforcement client failed to register with the Network Access Protection Agent (NAP Agent) service. Some network services or resources might not be available. </summary>
/// <summary>822. The Network Access Protection (NAP) enforcement client did not respond. Some network services or resources might not be available. </summary> 57: RegType
RegResourceList = 8,
RegFullResourceDescriptor = 9,
RegResourceRequirementsList = 10, 59: ResourceScope 60: ResourceType Cut off search results after 60. Please refine your search. |