Re: [BLACKBOX] Deleting a directory

From: [at]} <Chris>
Date: Fri, 10 Dec 2010 11:56:30 +1030

----boundary-LibPST-iamunique-1153087016_-_-
Content-type: text/plain

> From: BlackBox [mailto:BLACKBOX{([at]})nowhere.xy
Aubrey.McIntosh{([at]})nowhere.xy
> Sent: Friday, 10 December 2010 11:27 AM
> To: BLACKBOX{([at]})nowhere.xy
> Subject: Re: [BLACKBOX] Deleting a directory

> Just for practice, I coded this up.

Note that WinApi.RemoveDirectoryW returns 0 (i.e. FALSE in C) when it FAILS.
It returns non-zero when it successfully removes the directory.

Regards,
Chris

Chris Burrows
CFB Software
http://www.cfbsoftware.com


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-1153087016_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwID4gRnJvbTogQmxhY2tCb3ggW21haWx0bzpCTEFD
S0JPWEBMSVNUUy5PQkVST04uQ0hdIE9uIEJlaGFsZiBPZlxwYXINCkF1YnJleS5NY0ludG9zaEBB
TFVNTkkuVVRFWEFTLk5FVFxwYXINCj4gU2VudDogRnJpZGF5LCAxMCBEZWNlbWJlciAyMDEwIDEx
OjI3IEFNXHBhcg0KPiBUbzogQkxBQ0tCT1hATElTVFMuT0JFUk9OLkNIXHBhcg0KPiBTdWJqZWN0
OiBSZTogW0JMQUNLQk9YXSBEZWxldGluZyBhIGRpcmVjdG9yeVxwYXINClxwYXINCj4gSnVzdCBm
b3IgcHJhY3RpY2UsIEkgY29kZWQgdGhpcyB1cC4gXHBhcg0KXHBhcg0KTm90ZSB0aGF0IFdpbkFw
aS5SZW1vdmVEaXJlY3RvcnlXIHJldHVybnMgMCAoaS5lLiBGQUxTRSBpbiBDKSB3aGVuIGl0IEZB
SUxTLlxwYXINCkl0IHJldHVybnMgbm9uLXplcm8gd2hlbiBpdCBzdWNjZXNzZnVsbHkgcmVtb3Zl
cyB0aGUgZGlyZWN0b3J5LlxwYXINClxwYXINClJlZ2FyZHMsXHBhcg0KQ2hyaXNccGFyDQpccGFy
DQpDaHJpcyBCdXJyb3dzXHBhcg0KQ0ZCIFNvZnR3YXJlXHBhcg0KaHR0cDovL3d3dy5jZmJzb2Z0
d2FyZS5jb21ccGFyDQpccGFyDQpccGFyDQotLS0tXHBhcg0KVG8gdW5zdWJzY3JpYmUsIHNlbmQg
YSBtZXNzYWdlIHdpdGggYm9keSAiU0lHTk9GRiBCTEFDS0JPWCIgdG8gTElTVFNFUlZATElTVFMu
T0JFUk9OLkNIXHBhcg0KfQ==
----boundary-LibPST-iamunique-1153087016_-_---
Received on Fri Dec 10 2010 - 02:26:30 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:27 UTC