Functions | |
HWAPI HWAPI_RESULT | hwRefreshView (HWDOCUMENT hDocument) |
Force the editor view to repaintForces Hex Workshop to redraw the editor view with any changes. Hex Workshop automatically refreshes the editor view at the end of a plug-in execution. Redraws can be expensive and care should be used when calling. | |
HWAPI HWAPI_RESULT | hwGetCaretPosition (HWDOCUMENT hDocument, QWORD *pqwOffset) |
Get the editor caret position. | |
HWAPI HWAPI_RESULT | hwSetCaretPosition (HWDOCUMENT hDocument, QWORD qwOffset) |
Set the editor caret position. | |
HWAPI HWAPI_RESULT | hwGetSelection (HWDOCUMENT hDocument, QWORD *pqwLength) |
Get selection length of the hex editor windowThe selection starts at the curret caret position. | |
HWAPI HWAPI_RESULT | hwSetSelection (HWDOCUMENT hDocument, QWORD qwLength) |
Select data within the hex editor windowThe selection starts at the curret caret position. | |
HWAPI HWND | hwGetWindowHandle (HWSESSION hSession) |
Get the window handle of the Hex Workshop frame window. | |
HWAPI HWAPI_RESULT | hwUpdateProgress (HWSESSION hSession, int percentComplete, LPCTSTR status) |
Updates the progress indicator in the Plug-in execute status dialog.The plug-in may call this API to update the status of the plug-in execution. HWAPI_RESULT_USER_ABORT is returned if the user has cancelled the operations. |
HWAPI HWAPI_RESULT hwGetCaretPosition | ( | HWDOCUMENT | hDocument, |
QWORD * | pqwOffset | ||
) |
hDocument | [IN] Hex Workshop document handle |
pqwOffset | [OUT] Offset address of the editing cursor |
HWAPI HWAPI_RESULT hwGetSelection | ( | HWDOCUMENT | hDocument, |
QWORD * | pqwLength | ||
) |
hDocument | [IN] Hex Workshop document handle |
pqwLength | [OUT] Length of selection in bytes |
HWAPI HWND hwGetWindowHandle | ( | HWSESSION | hSession ) |
hSession | [IN] Hex Workshop Plug-in session handle |
HWAPI HWAPI_RESULT hwRefreshView | ( | HWDOCUMENT | hDocument ) |
hDocument | [IN] Hex Workshop document handle |
HWAPI HWAPI_RESULT hwSetCaretPosition | ( | HWDOCUMENT | hDocument, |
QWORD | qwOffset | ||
) |
hDocument | [IN] Hex Workshop document handle |
qwOffset | [IN] Offset address to place editing cursor |
HWAPI HWAPI_RESULT hwSetSelection | ( | HWDOCUMENT | hDocument, |
QWORD | qwLength | ||
) |
hDocument | [IN] Hex Workshop document handle |
qwLength | [IN] Length of selection in bytes |
HWAPI HWAPI_RESULT hwUpdateProgress | ( | HWSESSION | hSession, |
int | percentComplete, | ||
LPCTSTR | status | ||
) |
hSession | [IN] Hex Workshop Plug-in session handle |
percentComplete | [IN] Percent complete (from 0 to 100) |
status | [IN] Short string to be placed in status dialog |