Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The DebugExtensionProvideValue callback function sets pseudo-register values.
CALLBACK* PDEBUG_EXTENSION_PROVIDE_VALUE DebugExtensionProvideValue;
Syntax
PDEBUG_EXTENSION_PROVIDE_VALUE PdebugExtensionProvideValue;
HRESULT PdebugExtensionProvideValue(
[in] PDEBUG_CLIENT Client,
[in] ULONG Flags,
[in] PCWSTR Name,
[out] PULONG64 Value,
[out] PULONG64 TypeModBase,
[out] PULONG TypeId,
[out] PULONG TypeFlags
)
{...}
Parameters
[in] Client
A client to use if the extension needs DbgEng functions.
[in] Flags
Provides behavioral flags. This parameter is currently reserved.
[in] Name
The name of the value to return. This name might be one of the names that the DebugExtensionQueryValueNames function returned or a name that the caller might already be aware of.
[out] Value
A pointer to the value to be set.
[out] TypeModBase
The base starting address for Client.
[out] TypeId
A pointer to the ID for the type of Value.
[out] TypeFlags
A parameter that you can use to return one of the following flags:
Return value
DebugExtensionProvideValue might return one of the following values:
Return code | Description |
---|---|
|
The function was successfully completed. |
This function might also return error values. For more information about possible return values, see Return Values.
Remarks
The name that the Name parameter specifies must start with $$ and have a terminating NULL character.
DebugExtensionProvideValue is called PDEBUG_EXTENSION_PROVIDE_VALUE in the Dbgeng.h header file.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | dbgeng.h |
See also
DebugExtensionNotify
DebugExtensionQueryValueNames
DebugExtensionUninitialize
KnownStructOutput