Go to the source code of this file.
|
VOID | PhEmInitialization (VOID) |
| Initializes the extension manager module.
|
|
VOID | PhEmInitializeAppContext (_Out_ PPH_EM_APP_CONTEXT AppContext, _In_ PPH_STRINGREF AppName) |
| Initializes an extension application context.
|
|
VOID | PhEmSetObjectExtension (_Inout_ PPH_EM_APP_CONTEXT AppContext, _In_ PH_EM_OBJECT_TYPE ObjectType, _In_ SIZE_T ExtensionSize, _In_opt_ PPH_EM_OBJECT_CALLBACK CreateCallback, _In_opt_ PPH_EM_OBJECT_CALLBACK DeleteCallback) |
| Sets the object extension size and callbacks for an object type.
|
|
PVOID | PhEmGetObjectExtension (_In_ PPH_EM_APP_CONTEXT AppContext, _In_ PH_EM_OBJECT_TYPE ObjectType, _In_ PVOID Object) |
| Gets the object extension for an object.
|
|
SIZE_T | PhEmGetObjectSize (_In_ PH_EM_OBJECT_TYPE ObjectType, _In_ SIZE_T InitialSize) |
| Determines the size of an object, including extensions.
|
|
VOID | PhEmCallObjectOperation (_In_ PH_EM_OBJECT_TYPE ObjectType, _In_ PVOID Object, _In_ PH_EM_OBJECT_OPERATION Operation) |
| Invokes callbacks for an object operation.
|
|
BOOLEAN | PhEmParseCompoundId (_In_ PPH_STRINGREF CompoundId, _Out_ PPH_STRINGREF AppName, _Out_ PULONG SubId) |
| Parses an application name and sub-ID pair.
|
|
Invokes callbacks for an object operation.
- Parameters
-
ObjectType | The object type. |
Object | The object. |
Operation | The operation being performed. |
Definition at line 155 of file extmgr.c.
Gets the object extension for an object.
- Parameters
-
AppContext | The application context. |
ObjectType | The type of object for which an extension has been registered. |
Object | The object. |
Definition at line 116 of file extmgr.c.
SIZE_T PhEmGetObjectSize |
( |
_In_ PH_EM_OBJECT_TYPE |
ObjectType, |
|
|
_In_ SIZE_T |
InitialSize |
|
) |
| |
Determines the size of an object, including extensions.
- Parameters
-
ObjectType | The object type. |
InitialSize | The initial size of the object. |
Definition at line 138 of file extmgr.c.
Initializes the extension manager module.
Definition at line 39 of file extmgr.c.
Initializes an extension application context.
- Parameters
-
AppContext | The application context. |
AppName | The application name. |
Definition at line 57 of file extmgr.c.
Parses an application name and sub-ID pair.
- Parameters
-
CompoundId | The compound identifier. |
AppName | A variable which receives the application name. |
SubId | A variable which receives the sub-ID. |
Definition at line 196 of file extmgr.c.
Sets the object extension size and callbacks for an object type.
- Parameters
-
AppContext | The application context. |
ObjectType | The type of object for which the extension is being registered. |
ExtensionSize | The size of the extension, in bytes. |
CreateCallback | The object creation callback. |
DeleteCallback | The object deletion callback. |
Definition at line 78 of file extmgr.c.