This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void __fastcall TformSpecialAddUser::hbtnDomainUserClick(TObject *Sender) | |
{ | |
IDsObjectPickerPtr ptrObjPick(CLSID_DsObjectPicker); | |
IDataObjectPtr pDataObject; | |
DSOP_INIT_INFO InitInfo; | |
DSOP_SCOPE_INIT_INFO aScopeInit[1]; | |
HRESULT hr; | |
// init DSOP scope information (note written to use an array for extensibility) | |
ZeroMemory(aScopeInit, sizeof(aScopeInit)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
// create MediaWiki API object | |
var mw = Core.loadScript('jslib/mediaWikiAPI.js'); | |
mw.setDefaultBaseURLs('doomwiki.org'); | |
// Query the wiki for the edit token and revision text for one page | |
var queryPageData = function (page) { | |
// get edit token and revision text | |
var getPageQuery = mw.createPageEditQuery(mw.getCanonicalTitle('File:' + page.file)); | |
Console.println('Get page query: ' + getPageQuery); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
// MediaWiki Module object | |
return ({ | |
// Base URL of the MediaWiki website API entry point | |
apiBaseURL: '', | |
// Base URL of the MediaWiki website HTML frontend | |
webBaseURL: '', | |
// Utility to set API and web base URLs based on the typical MediaWiki |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// JSONRequest Class | |
// | |
// Implements an object somewhat similar to XMLHttpRequest, but intended for | |
// retrieval and evaluation of JSON from network URIs. IO is blocking. | |
// | |
if(!this.JSONRequest) { | |
(function (global) { | |
var JSONRequest = function JSONRequest() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ 'pages': [ | |
{ 'file': 'Psx-attack-02.png', 'category': 'PlayStation Final Doom screenshots' }, | |
{ 'file': 'Psx-attack-03.png', 'category': 'PlayStation Final Doom screenshots' }, | |
{ 'file': 'Psx-attack-04.png', 'category': 'PlayStation Final Doom screenshots' }, | |
{ 'file': 'Psx-attack-05.png', 'category': 'PlayStation Final Doom screenshots' }, | |
{ 'file': 'Psx-attack-06.png', 'category': 'PlayStation Final Doom screenshots' }, | |
{ 'file': 'Psx-attack-07.png', 'category': 'PlayStation Final Doom screenshots' }, | |
{ 'file': 'Psx-attack-08.png', 'category': 'PlayStation Final Doom screenshots' }, | |
{ 'file': 'Psx-attack-09.png', 'category': 'PlayStation Final Doom screenshots' }, | |
{ 'file': 'Psx-citadel-the-01.png', 'category': 'PlayStation Doom screenshots' }, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- solidsegs 0x01454480 _solidsegs {first=0x80000001 last=0x7fffffff } cliprange_t [32] | |
+ [0x0] {first=0x80000001 last=0x7fffffff } cliprange_t | |
+ [0x1] {first=0x032aa52c last=0x033047f0 } cliprange_t | |
+ [0x2] {first=0x032aa52c last=0x033047f0 } cliprange_t | |
+ [0x3] {first=0x032aa52c last=0x033047f0 } cliprange_t | |
+ [0x4] {first=0x032aa52c last=0x033047f0 } cliprange_t | |
+ [0x5] {first=0x032aa52c last=0x033047f0 } cliprange_t | |
+ [0x6] {first=0x032aa52c last=0x033047f0 } cliprange_t | |
+ [0x7] {first=0x032aa52c last=0x033047f0 } cliprange_t | |
+ [0x8] {first=0x032aa52c last=0x033047f0 } cliprange_t |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int Pdate::DayOfWeek () const | |
{ | |
int c,y,m,d; | |
int C,Y,M,D; | |
int x; | |
// initial values; | |
c = (year / 100) + 1; | |
y = year - ((c - 1) * 100); | |
m = month; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//--------------------------------------------------------------------------- | |
bool TformRecordCrashLog::IsProbableRetnTarget(unsigned int address) | |
{ | |
unsigned char *ptr = reinterpret_cast<unsigned char *>(address); | |
try | |
{ | |
// Check for register calls | |
unsigned char *twoback = ptr - 2; | |
if(*twoback == 0xFFu) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Setup the program to view the images of a previously saved document. | |
// | |
static void ScanMgr_SetupViewMode() | |
{ | |
ScanMgr_DisableDocumentMutateCmds(); | |
if(isPDF) | |
{ | |
std::string pdfPath, tmpPath; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
D:\Sandbox\GitHub\OpenGraphMeta [dw_dev ≡]> git rebase upstream/REL1_27 | |
First, rewinding head to replay your work on top of it... | |
Applying: Hotpatch fixes adapted from DoomWiki live copy | |
Applying: PageImages integration (experimental) | |
Applying: Add self to authors for extension credits | |
Applying: Hook function needs to return true | |
Applying: Special handling for NS_FILE | |
Applying: MIME blacklist capability | |
D:\Sandbox\GitHub\OpenGraphMeta [dw_dev ↕]> git status | |
On branch dw_dev |
OlderNewer